Recommend
If you like my work with RVM, please recommend me *with a comment as to why you recommend me* on
Working With Rails – Thank You!
IRC
I am 'wayneeseguin' in #rvm on irc.freenode.net
If I do not respond right away, leave a message and I'll respond or leave you a memo when I am around.
Sponsors
$ rvm help # Documentation Index

Before you can use a gemset, you must first create it.

$ rvm 1.9.2-head
$ rvm gemset create albinochipmunk

To use a gemset

$ rvm gemset use albinochipmunk

You can switch to a gemset as you start to use a ruby, by appending @gemsetname to the end of the ruby selector string:

$ rvm use 1.9.2-head@albinochipmunk

You can also specify a *default* gemset for a given ruby interpreter, by doing:

$ rvm use 1.9.2-head@albinochipmunk --default

To use a named gemset with an RVM 'do' action, append it to the ruby selector string using a '@'

rvm 1.9.2-head@albinochipmunk,ree@albinochipmunk,jruby@albinochipmunk do rake test

If you are aware of where you are at, and wish to fix the gemset, you can do:

rvm gemset use albinochipmunk
rvm 1.9.2-head,ree,jruby do rake --sticky test

If you would like to create gemsets automatically when used, export this flag in your ~/.rvmrc file:

rvm_gemset_create_on_use_flag=1

Community Resources

RVM Documentation Index