Created
October 27, 2014 12:16
-
-
Save lukehedger/cb0e026969421ca8f1f3 to your computer and use it in GitHub Desktop.
Setup rbenv to replace OSX system version of Ruby
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
$ brew install rbenv ruby-build | |
$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile | |
# restart terminal | |
$ type rbenv | |
#=> "rbenv is a function" | |
$ rbenv install --list | |
#=> list of all available installations | |
$ rbenv install 2.1.3 | |
#=> install specified version | |
$ rbenv global 2.1.3 | |
#=> sets the global ruby version |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Resources: