Modification Phase 4

This commit is contained in:
2018-05-07 13:14:59 +02:00
parent e2fbc1d17a
commit f1b9a66298

View File

@@ -1,8 +1,9 @@
#!/bin/bash
set -x
# 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
rm -rf ~/.rbenv 2>/dev/null;git clone https://github.com/rbenv/ruby-build.git ~/.rbenv/plugins/ruby-build || exit 301
pwd
cd ~/.rbenv || exit 302
cd ~/.rbenv && rbenv install 2.5.0 || exit 303
cd ~/.rbenv && rbenv global 2.5.0 || exit 304