Corrections

This commit is contained in:
2018-05-07 20:19:55 +02:00
parent 37e8c0f9d0
commit 40f51d8cb1

View File

@@ -2,12 +2,11 @@
set -x set -x
# Let's install ruby 2.5.0 # Let's install ruby 2.5.0
echo Phase 4: Installation de Ruby echo Phase 4: Installation de Ruby
echo $HOME rm -rf $HOME/.rbenv/plugins/ruby-build 2>/dev/null
git clone https://github.com/rbenv/ruby-build.git $HOME/.rbenv/plugins/ruby-build || exit 301 git clone https://github.com/rbenv/ruby-build.git $HOME/.rbenv/plugins/ruby-build || exit 301
pwd
cd $HOME/.rbenv || exit 302 cd $HOME/.rbenv || exit 302
cd $HOME/.rbenv && rbenv install 2.5.0 || exit 303 rbenv install 2.5.0 || exit 303
cd $HOME/.rbenv && rbenv global 2.5.0 || exit 304 rbenv global 2.5.0 || exit 304
ruby -v ruby -v
cd cd