Skip to content

Instantly share code, notes, and snippets.

@kevinelliott
Forked from nbibler/gist:5307941
Created April 24, 2013 02:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save kevinelliott/5449079 to your computer and use it in GitHub Desktop.
Save kevinelliott/5449079 to your computer and use it in GitHub Desktop.
if [ -f "$rvm_path/scripts/rvm" ]; then
source "$rvm_path/scripts/rvm"
if [ -f ".rvmrc" ]; then
source ".rvmrc"
fi
if [ -f ".ruby-version" ]; then
rvm use `cat .ruby-version`
fi
if [ -f ".ruby-gemset" ]; then
rvm gemset use --create `cat .ruby-gemset`
fi
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment