Last active
August 29, 2015 14:15
-
-
Save opti/2c0903e05e97245056b5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Run as root | |
# $ bash <(curl -s https://gist.githubusercontent.com/opti/2c0903e05e97245056b5/raw/c4042c85bf344502a194b8e926857c8b2b52c974/rbenv-update.sh) | |
# | |
yum update -y | |
pushd /tmp | |
rm -rf ruby-build | |
git clone git://github.com/sstephenson/ruby-build.git | |
cd ruby-build | |
./install.sh | |
popd | |
rbenv install 2.2.2 | |
rbenv global 2.2.2 | |
rbenv rehash | |
gem update --system | |
gem install bundler |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment