Skip to content

Instantly share code, notes, and snippets.

@gmanley
Created April 25, 2012 14:48
Show Gist options
  • Save gmanley/2490296 to your computer and use it in GitHub Desktop.
Save gmanley/2490296 to your computer and use it in GitHub Desktop.
Make rvmrc function!
function mkrvmrc () {
latest_ruby="$(rvm list strings | tail -n -1)"
echo "rvm $latest_ruby@$(basename $PWD) --create" > .rvmrc
source .rvmrc
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment