.rvmrc file that specifies which ruby and which gemset to use.
What makes this snippet special is that it creates the gemset if it does not exist.
rvm use [ruby-version]@[gemset] --create --rvmrc
An alternative is a .ruby-version file. Safer and simpler:
right, but the point of the example i posted is that it creates the gemset if it does not exist on the users computer.
thanks for the comment