Skip to content

Instantly share code, notes, and snippets.

Last active Aug 29, 2015
What would you like to do?
setting up Ruby on a new OSX computer
brew install ruby-install
ruby-install ruby 2.1.6
gem install bundler
brew install libxml2 libxslt # usually required for some ruby libraries
brew install chruby
# this sets the paths for ruby and bundle to the newly installed ruby
chruby 2.1.6
# now you can install other rubies:
ruby-install ruby 2.2.2
chruby 2.2.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment