Uninstalling a Gem – Ruby on Rails

Due to a few recent issues with SunSpot (see my previous posts), I’ve decided to uninstall it until I have enough time to work on it properly. Once again, Ruby makes this pretty simple:

chris@chris-VirtualBox:~/site$ sudo gem uninstall sunspot
[sudo] password for chris: 
You have requested to uninstall the gem: sunspot-1.2.1 sunspot_rails-1.2.1 depends on [sunspot (= 1.2.1)]
If you remove this gems, one or more dependencies will not be met.
Continue with Uninstall? [Yn]  y
Remove executables: sunspot-solr, sunspot-installer in addition to the gem? [Yn]  y
Removing sunspot-solr
Removing sunspot-installer
Successfully uninstalled sunspot-1.2.1

Leave a Reply