Ask Ubuntu is a question and answer site for Ubuntu users and developers. 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

What is the best way to remove RVM, Ruby, Ruby gem and rails in Ubuntu 12.04 ?

share|improve this question
the more details you provide, the more it is easy to help for us. Try to provide details, how you installed them and What procedure you followed to remove them. – Anwar Shah Jul 18 '12 at 5:35
I want to completely remove and re install them. – Ganesh Kunwar Jul 18 '12 at 5:40
This is the same details we already have. How did you installed them? What command or methods you used. And How are you trying to remove them? Add the details in the question – Anwar Shah Jul 18 '12 at 5:49
I installed such package using RVM, but I want to uninstalled. I used "sudo apt-get remove ruby1.9.3" command, Only rails is removed. but ruby not installed. – Ganesh Kunwar Jul 18 '12 at 6:33

Try this command:

rvm implode

Then follow the prompts.

Also remove any references of rvm you might have made in the past in your .bashrc and .bash_profile.

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.