Skip to content

Instantly share code, notes, and snippets.

@jamesgolick
Created September 30, 2010 06:48
Show Gist options
  • Select an option

  • Save jamesgolick/604139 to your computer and use it in GitHub Desktop.

Select an option

Save jamesgolick/604139 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
set -o errtrace
export PS4='+[${BASH_SOURCE}] : ${LINENO} : ${FUNCNAME[0]:+${FUNCNAME[0]}() $ }'
if [[ -f /etc/rvmrc ]] ; then source /etc/rvmrc ; fi
if [[ -f "$HOME/.rvmrc" ]] ; then source "$HOME/.rvmrc" ; fi
rvm_path="${rvm_path:-$HOME/.rvm}"
mkdir -p $rvm_path/src/
builtin cd $rvm_path/src
rm -rf ./rvm/
git clone git://github.com/wayneeseguin/rvm.git
builtin cd rvm
git checkout 0648d996c0a65537aa15
bash ./scripts/install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment