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

Named Rubies

RVM allows you to install the same ruby multiple times using suffixes.

Creating Named Ruby

The process is the same as installation, just use -n {name} switch

$ rvm install rbx -n default_19 -- --default-version=1.9
rbx-head-default_19 installing #dependencies
...
$ rvm use rbx-default_19
Using /home/mpapis/.rvm/gems/rbx-head-default_19
$ rvm install 1.9.2-named
...
ruby-1.9.2-p290-named - #configuring
...
$ rvm use 1.9.2-named
Using /home/mpapis/.rvm/gems/ruby-1.9.2-p290-named

Selecting names for your rubies

There are strict rules for creating named rubies, mostly the name can not be name of other ruby, it can not be also any other common version specifier.

The name requires to match following patter(regexp):

[[:alpha:]][[:alnum:]_]*

Here is a list of rules that will match before name(regexp):

head
system
nightly
preview.*
rc[[:digit:]].*
p[[:digit:]].*
r[[:digit:]].*
s[[:alnum:]].*
tv[[:digit:]].*
t[[:digit:]].*
m[[:digit:]].*
u[[:alnum:]].*
a[[:digit:]][[:digit:]].*
b[[:digit:]].*
ruby
rbx
jruby
macruby
ree
kiji
rubinius
maglev
ironruby
goruby

If the above list is not complete or you found exceptions please feel free to contribute.

RVM Documentation Index