Created
April 20, 2010 21:46
-
-
Save davidx/373127 to your computer and use it in GitHub Desktop.
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
# i've tried varieties of rvm install in fail, | |
# also, I didnt think about not needing to run it as root. | |
# When you install it, you don't have to be root. | |
# this seems to work | |
# just copy and paste this bit: | |
RVM_GIT_REPO=git://github.com/wayneeseguin/rvm.git | |
mkdir -p $HOME/.rvm/src && cd $HOME/.rvm/src && | |
git clone --depth 1 ${RVM_GIT_REPO} && | |
cd rvm && | |
./install | |
# then add this last bit to the bottom your /etc/profile | |
# by running : | |
sudo echo 'if [[ -s "$HOME/.rvm/scripts/rvm" ]] ; then source "$HOME/.rvm/scripts/rvm" ; fi' >> /etc/profile | |
# all done | |
exit your terminal | |
open terminal | |
rvm list known | |
# this works, will used latest | |
rvm install 1.8.6 | |
# start using it | |
rvm use 1.8.6 | |
rvm default ruby-1.8.6-p399 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment