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

According to the official site (, the "default" setting of rvm controls the ruby version that is loaded "when you open a new terminal shell".

I am wondering, how exactly does rvm implement this functionality? It doesn't seem to be via .bash_profile/.bashrc (they are unmodified).

It might be attributed to my using PuTTY on Windows logging into a Debian VPS (unlikely methinks), but whenever I open a new PuTTY login shell, the following transpires:

root:~# rvm list default

Default Ruby (for new shells)

   ruby-1.9.2-p290 [ i386 ]

root:~# rvm current
root# which ruby

That's interesting. It managed to pick up that the default should be 1.9.2, but didn't actually modify the rvm "current" data, nor the ruby paths?

share|improve this question

rvm must be loaded as function, no rvm ruby must be already in PATH

most likely you have issue with the first part, read for details, but running this most likely will help:

rvm get head --auto
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.