Ruby: disable documentation when installing gems

Posted by Arkham on July 29th, 2011

If you want to install gems quickly without waiting for ri and rdoc documentation files, run this command:

echo "gem: --no-ri --no-rdoc" >> ~/.gemrc

Your new gems won’t include documentation at all. Hooray!

This entry was posted on Friday, July 29th, 2011 at 15:22 and is filed under thoughts. You can follow any responses to this entry through the RSS 2.0 feed. Both comments and pings are currently closed.

Tags: ,

Comments are closed.