Created
June 17, 2012 20:26
-
-
Save dmcrodrigues/2945633 to your computer and use it in GitHub Desktop.
install rvm on Mac 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
# install rvm using ruby | |
curl -L https://get.rvm.io | bash -s stable --ruby | |
# add rvm function to user's profile | |
echo '[[ -s "$HOME/.rvm/scripts/rvm" ]] && . "$HOME/.rvm/scripts/rvm"' >> ~/.bash_profile | |
# reload profile | |
source ~/.bash_profile | |
# install ruby and set as default | |
rvm install 1.9.3 | |
rvm --default 1.9.3 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment