Skip to content

Instantly share code, notes, and snippets.

@f3r
Created August 10, 2015 06:26
Show Gist options
  • Save f3r/6642a97561aadc5e7b61 to your computer and use it in GitHub Desktop.
Save f3r/6642a97561aadc5e7b61 to your computer and use it in GitHub Desktop.
rbenv installation notes

Installing Ruby

Install rbenv

$ brew update
$ brew install rbenv ruby-build

Paths and Shims

$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.bash_profile
$ echo 'eval "$(rbenv init -)"' >> ~/.bash_profile

Install Ruby

$ rbenv versions
$ rbenv install 2.2.2

Set up 2.2.2 as default

$ rbenv global 2.2.2
$ cd path/to/repo
$ rbenv local 2.2.2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment