Skip to content

Instantly share code, notes, and snippets.

@lukehedger
Created October 27, 2014 12:16
Show Gist options
  • Save lukehedger/cb0e026969421ca8f1f3 to your computer and use it in GitHub Desktop.
Save lukehedger/cb0e026969421ca8f1f3 to your computer and use it in GitHub Desktop.
Setup rbenv to replace OSX system version of Ruby
$ 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
@lukehedger
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment