Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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 upgraded my system Ruby to Ruby 1.9.1 and inadvertently killed my rvm. My old system was 1.8. Now when I try to run programs that pull from the gems I have in ~/.rvm/gems/ruby-1.9.3-p194/gems, I see:

/usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in `require': cannot load such file -- hola (LoadError)

from /usr/lib/ruby/1.9.1/rubygems/custom_require.rb:36:in require' from test.rb:1:in' I included this line in my .bashrc file

[[ -s "$HOME/.rvm[[ -s "$HOME/.rvm/scripts/rvm" ]] && source "$HOME/.rvm/scripts/rvm

But when I run it, I get this message:

rvm_is_a_shell_function: command not found

Also, when I do rvm list, I no longer see rvm 1.9.3, just an empty list (I reinstalled rvm).

How can I restore things to the way they used to be?

share|improve this question
up vote 0 down vote accepted

you can get back the ruby with:

rvm use ruby-1.9.3-p194 --install --default
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.