Last active
August 29, 2015 14:25
-
-
Save aaronpk/4d84e452e94c6c12cc06 to your computer and use it in GitHub Desktop.
setting up Ruby on a new OSX computer
This file contains 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
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