Are you removing Ruby on Rails or Ruby AND Ruby on Rails?
If you want to remove Ruby on Rails, simply use gems uninstall rails or make gems dependency rails , and then gems uninstall for each of the listed stones that Rails depends on. If you installed them on a system scale using sudo first, you will have to use sudo again to remove them.
If you want to remove the system-wide Ruby that you installed from the source code, I would probably leave it alone and install any new versions of Ruby using RVM. An older version will not be visible to applications unless you want them to see it or set their path to enable it. A version of RVM will be found first, unless you make an rvm system .
In fact, you can simply install RVM and install new versions of Ruby, and then install new versions of Rails without even bothering to delete the old files. RVM is cool.
the Tin Man Nov 07 '10 at 4:12 2010-11-07 04:12
source share