Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'll let the shell log explain itself:

root:~# rvm current
root:~# which ruby
root:~# rvm use 1.9.2
Using /root/.rvm/gems/ruby-1.9.2-p290
root:~# rvm current
root:~# which ruby
root:~# rvm system
root:~# rvm current
root:~# which ruby

At this point, if rvm claims that the current installation is "system", shouldn't ruby point back to /usr/bin/ruby?

Moreover, can someone explain, at a high level, what happens when one executes "rvm [version]", where [version] could be "system"? I understand that it's messing with the paths of where the current "ruby", "gem", etc point to, but is it doing some other stuff under the covers?

share|improve this question
is it the same after rvm get head && rvm reload ? – mpapis Feb 12 '12 at 8:26

This can be related to older version of rvm which was not issuing warning when use was broken, new versions of RVM will tell you that you can not use ruby because RVM is not loaded as function.

Other point might be that system rubt and default ruby might be conflicting, and even you get it working - it still will point to rvm default ruby instead of system.

And last - you have installed user mode rvm for root, this is the least tested use case of RVM, actually It's even hard to get it, it might be the cause of the problem.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.