Question:

I don't use RI nor RDOC from the gems I install in my machine or in the servers I handle. (I use other means of documentation) Every gem I install comes whith ri and rdoc by default and I forget to set --no-ri --no-rdoc.

Is there a way to make those 2 flags default?

Answer:

You just add following line to your ~/.gemrc file (it is in your home folder)

gem: --no-ri --no-rdoc
09-04 09:25