Skip to content

Instantly share code, notes, and snippets.

@mdominiak
Created September 26, 2014 08:06
Show Gist options
  • Save mdominiak/7b587f9816a5e8968893 to your computer and use it in GitHub Desktop.
Save mdominiak/7b587f9816a5e8968893 to your computer and use it in GitHub Desktop.
Install the lastest ruby with rbenv on OS X
# Assumptions: rbenv and ruby-build installed with brew
# Update brew formulas
brew update
# Upgrade rbenv and ruby-build
brew upgrade rbenv ruby-build
# List available ruby versions
rbenv install --list
# Install the lastest ruby
rbenv install 2.1.3
# Set the installed ruby as default/global
rbenv global 2.1.3
# Verify the global ruby version
rbenv global
# => 2.1.3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment