Skip to content

Instantly share code, notes, and snippets.

@opti
Last active August 29, 2015 14:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save opti/2c0903e05e97245056b5 to your computer and use it in GitHub Desktop.
Save opti/2c0903e05e97245056b5 to your computer and use it in GitHub Desktop.
#
# 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