Skip to content

Instantly share code, notes, and snippets.

@danielholmstrom
Created August 16, 2012 15:03
Show Gist options
  • Save danielholmstrom/3370851 to your computer and use it in GitHub Desktop.
Save danielholmstrom/3370851 to your computer and use it in GitHub Desktop.
function loadrvm {
[ -f ~/.rvm/scripts/rvm ] && {
source ~/.rvm/scripts/rvm
[ "$RVM_VERSION" ] || export RVM_VERSION='1.9.2'
rvm use $RVM_VERSION
return
}
echo "loadrvm: rvm not found"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment