Created
June 25, 2013 07:55
-
-
Save vladimir-e/5856750 to your computer and use it in GitHub Desktop.
install / update ruby using #rbenv
This file contains hidden or 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
# update on ubuntu | |
cd ~/.rbenv/ | |
git pull | |
cd plugins/ruby-build | |
git pull | |
rbenv install -l | |
rbenv install 2.0.0-p195 | |
rbenv global 2.0.0-p195 | |
ruby -v | |
gem update --system | |
gem install bundler --no-rdoc --no-ri | |
# install on osx | |
brew update | |
brew install rbenv | |
brew install rbenv-gem-rehash | |
brew install ruby-build | |
brew install openssl | |
rbenv install -l | |
CONFIGURE_OPTS="--with-openssl-dir=`brew --prefix openssl`" rbenv install 2.0.0-p195 | |
rbenv global 2.0.0-p195 | |
ruby -v | |
gem update --system | |
gem install bundler --no-rdoc --no-ri |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment