← Back to Upcase

Defaulting gems to not install with the ri docs


(Brian Dear) #1

Is there a global config to prevent the installing of ri docs upon installing a new gem?


(Pedro Moreira) #2

You can setup a .gemrc file in your home dir, I believe.


(Jon Seidel) #3

And put these lines in the .gemrc:

install: --no-rdoc --no-ri
update: --no-rdoc --no-ri

(Pedro Moreira) #4

Exactly :slight_smile: