Is there a way to create the associated .ruby-version
and .ruby-gemset
files when creating a new gemset?
With older versions of rvm, one could
All of the above examples require you to type in your ruby version and gemset name .. which is close to the same keystrokes required to vi .ruby-gemset and vi .ruby-version. Assuming you are in a directory where you've already chosen your ruby version and you are pointing at the desired gemset.. this does the trick.
rvm --ruby-version use $(rvm-prompt)