views:

265

answers:

2

Hello guys. How can I remove rvm (ruby version manager) from my system?

A: 

http://rvm.beginrescueend.com/rubies/removing/

instructions for removing rvm are at the bottom.

Jed Schneider
i'm sorry, i want remove the RVM! no the ruby versions and gems...
lucianosousa
my bad. see other answer.
Jed Schneider
+7  A: 

There's a simple command built-in that will pull it:

rvm implode

This will remove the rvm/ directory and all the rubies built within it. In order to remove the final trace of rvm, you need to remove the rvm gem, too:

gem uninstall rvm

If you've made modifications to your PATH you might want to pull those, too. Check your .bashrc, .profile and .bash_profile files, among other things.

tadman
+1 for noting the profile settings and the gem uninstall, _if_ you didn't listen to Wayne in the first place and installed it as a gem. :)
Jed Schneider
It installs just fine as a gem if you remember to update it afterwards. I find that a more reliable method than source installing anything. Wayne also says to not root install it but I don't listen to him on that point either. It's so much better to have an rvm-managed system Ruby. 1.9.2p0 is working perfectly with both TextMate, shell and Passenger.
tadman