Skip to content

Instantly share code, notes, and snippets.

@mycargus
Created May 14, 2015 07:02
Show Gist options
  • Save mycargus/cc32e5d1cb0897d86a2e to your computer and use it in GitHub Desktop.
Save mycargus/cc32e5d1cb0897d86a2e to your computer and use it in GitHub Desktop.
brew install rbenv ruby-build
# Add rbenv to bash so that it loads every time you open a terminal
echo 'if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi' >> ~/.bash_profile
source ~/.bash_profile
# Install Ruby
rbenv install 2.2.2
rbenv global 2.2.2
ruby -v
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment