Skip to content

Instantly share code, notes, and snippets.

@davidx
Created April 20, 2010 21:46
Show Gist options
  • Save davidx/373127 to your computer and use it in GitHub Desktop.
Save davidx/373127 to your computer and use it in GitHub Desktop.
# 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