Skip to content

Instantly share code, notes, and snippets.

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