Last Updated: February 25, 2016
·
443
· waynegraham

rvm gemset setup

I got frustrated recently with setting up rvm gemsets, so I made a script. With some help from Michal Papis, I ended up with this in my ~/.bash_profile.

rvmgo()

{
typeset ver pwd
ver=${1:-1.9.3}
pwd=${PWD##*/}

  rvm use $ver@$pwd --create
}