Skip to content

Instantly share code, notes, and snippets.

@vladimir-e
Created June 25, 2013 07:55
Show Gist options
  • Save vladimir-e/5856750 to your computer and use it in GitHub Desktop.
Save vladimir-e/5856750 to your computer and use it in GitHub Desktop.
install / update ruby using #rbenv
# 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