wayneeseguin/rvm — Issue #612: Executing commands with rvm and a gemset
Author: Maher4Ever
Created: 2011-11-20 14:07:51+00:00
State: open

RVM can run commands in a specific ruby version when it is passed the number of that version before the command, ex:
`rvm 1.9.3 exec bundle`. I would like to be able to also specify the gemset when running the same command like:
`rvm 1.9.3@myset exec bundle`.

This feature will come handy in a lot of sitiuations. I for example needed this for testing a ruby code of mine with multiple versions.
I thought the following command would work, but It doesn't (yet ^^):
`rvm 1.8.7@mosaheh,1.9.3@mosaheh exec rspec spec`