Last Updated: February 25, 2016
·
1.459K
· danjesus

Avoid rdoc and ri in gem installations or update

If you don't like use of ri or rdoc when execute gem install or update.
Add this line in .gemrc file

All gem commands
gem:  --no-rdoc --no-ri

Only install commands
install:  --no-rdoc --no-ri

Only updates commands
update: --no-rdoc --no-ri

2 Responses
Add your response

Good tip.

Also it's worth noting that In Rubygems 2.0.0+ --no-document will be an alternative to --no-ri/--no-rdoc

over 1 year ago ·
over 1 year ago ·