/ til

How do I make --no-ri --no-rdoc the default for gem install?

If you are deploying to a server, or you do not want to wait around for rdoc and ri to install for each gem, you can disable them for gem installs and updates.

Just add the following line to your ~/.gemrc or /etc/gemrc:

gem: --no-rdoc --no-ri


gem: --no-document

or if want to be more specific,

install: --no-document
update: --no-document
Manu S Ajith

Manu S Ajith

Tech Entrepreneur, dating Elixir, in long-term ❤️ w/ Ruby, had multiple one night stands w/ Go. Into functional paradigms DDD/CQRS/EventSourcing architecture these days. @manusajith on the interwebs

Read More