How can I remove the
You can simply remove the
doc directory in the RubyGems installation directory.
rm -r `gem env gemdir`/doc
On Mac OS X by default, it's
Keep in mind that there might be several installation directories for RubyGems.
~/.gem/ruby/1.8/) if it can't access the normal installation directory (e.g. you installed a gem without
This will merely remove existing files, but new ones will come with new installations anyway, unless you use the
--no-document flag for gem install or make it a default.