How to Make --no-ri --no-rdoc the Default for Gem Install
Mike GriffinWhenever I set up a new instance of rubygems, the first thing that I have to do is to stop the documentation from being installed with every gem. And I always forget how to do it. This is how.
In your ~/.gemrc
file, add the following line:
That’s all there is to it.