diff --git a/files/Install-Mastodon-Phase4.sh b/files/Install-Mastodon-Phase4.sh index 421a66d..6ef6273 100644 --- a/files/Install-Mastodon-Phase4.sh +++ b/files/Install-Mastodon-Phase4.sh @@ -3,9 +3,9 @@ # Let's install ruby 2.5.0 echo Phase 4: Installation de Ruby git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build || exit 301 -cd .rbenv || exit 302 -rbenv install 2.5.0 || exit 303 -rbenv global 2.5.0 || exit 304 +cd ~/.rbenv || exit 302 +cd ~/.rbenv && rbenv install 2.5.0 || exit 303 +cd ~/.rbenv && rbenv global 2.5.0 || exit 304 ruby -v cd ~