Just how can I entirely remove Ruby + Rails + Gems?
If you're making use of Ubuntu Packages run
sudo apt-get purge <packages>
So that needs to be something like:
sudo apt-get purge ruby rubygems
From the apt-get man page:
purge purge is identical to remove except that packages are removed and purged (any configuration files are deleted too).
Using synaptic, you can remove the Ruby plans (select "entirely remove" alternative). I presume this is the matching of the commandline : sudo proper - get remove
Now for the treasures : they are ruled out as plans. You will certainly require to delete them by hand (unless you intend to make use of Ruby to do it, yet given that you claim it's busted ...)
By default, the Ruby treasures are mounted in your house folder, under the.gem folder. If you actually intend to get points tidy, simply delete ~/. treasure, and also it needs to suffice. When you re-install Ruby and also every little thing, the folder will certainly get developed once more, and also you will certainly be excellent to go.
If you are making use of RVM why trouble also uninstalling the system ruby?
I install both 1.8.7 and also 1.9.2 - rc using RVM.
After you have actually mounted RVM you can set the RVM 1.8.7 to be your default ruby installment. Simply do not install RVM as origin.
For those asking yourself, https://rvm.io/ has the RVM install guidelines.
See to it you read the guidelines on what plans you require to install for Ubuntu prior to mounting 1.8.7 using RVM. If you do not install them you might have concerns with some treasures.