Last active
December 22, 2015 12:19
-
-
Save justinredd/6471930 to your computer and use it in GitHub Desktop.
rvm install for mac
This file contains 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
# Install rvm | |
\curl -L https://get.rvm.io | bash -s stable | |
rvm reload | |
# Doublecheck that rvm is sourced | |
grep 'source $HOME/.rvm/scripts/rvm' ~/.bash_profile | |
# If it's missing, edit your .bash_profile to add the string above | |
# Re-source your profile | |
. ~/.bash_profile | |
# Install a ruby | |
rvm install 1.9.3 | |
# See where your ruby is | |
which ruby | |
# Terminal windows left open from before you started this won't use your new rvm ruby until you run this: | |
. ~/.bash_profile | |
# Optional, tell gem not to install documentation ('cause it's on the interwebs) | |
echo 'gem: --no-ri --no-rdoc' > ~/.gemrc |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment