Created
September 26, 2014 08:06
-
-
Save mdominiak/7b587f9816a5e8968893 to your computer and use it in GitHub Desktop.
Install the lastest ruby with rbenv on OS X
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
# 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