Last Updated: February 25, 2016
·
417
· two2twelve

Set --no-ri and --no-rdoc as the default for gem commands

Speed up installs/updates and minimize gem sizes by using the following tip.

Open/create the following file:

~/.gemrc

Paste the following lines:

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

1 Response
Add your response

Actually ri is quite helpful. I'd stay only with --no-rdoc

over 1 year ago ·