FWIW, I uninstalled all gems like this:
$ gem list |
grep -i '^[a-z]' |
cut -d' ' -f1 |
xargs sudo gem uninstall -aIx
I'm curious to know, how do I uninstall rubygems? Is it just the
single file /usr/bin/gem1.8? Or does it also install a bunch of other
files (e.g. docs, configs, etc.)? I read through the setup.rb file,
but I didn't understand what it was doing.
Regards,
- Robert
Just from poking around, it seems as though setup.rb installs a few
other items, too:
/usr/bin/gem1.8
/usr/local/lib/site_ruby/1.8/rubygems/
/usr/local/lib/site_ruby/1.8/rubygems.rb
/usr/local/lib/site_ruby/1.8/ubygems.rb
I updated the wiki to including uninstalling:
http://groups.google.com/group/spec_wire/edit/setup
Regards,
- Robert