Fork me on GitHub
Donation
Love RVM? A donation would help justify to my family why I spend so much time working on Open Source projects like RVM.
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

Blue Box Group, LLC Nuxos Group

∴ rvm help # Documentation Index

Ruby String

RVM uses the concept of a 'ruby string' to uniquely identify each interpreter installation. Most commonly this is of the form $interpreter-$version-$distinguisher. For example 'ruby-1.9.1-p378' stands for "Ruby 1.9.1 patch level 378".

If you are developing tools which use RVM and you need a way to expand ruby selectors to their full ruby strings then you can do it like so:

rvm strings 1.8.7

This will produce output similar to:

ruby-1.8.7-p249

You may also pass multiple selectors:

rvm strings 1.8.7 1.9.1 jruby

Which yields something like,

ruby-1.8.7-p249 ruby-1.9.1-p378 jruby-1.4.0
RVM Documentation Index