Install Gems Without Documentation By Default

Posted By Weston Ganger

When installing gems, one of the things that make it take longer is to install is the documentation. I don't even know who uses local documentation any more anyway's but its not me. Here's how to make no documentation the default when installing.

Create or edit ~/.gemrc and add the following line:

# ~/.gemrc

gem: --no-document

Done, no more slow gem installs because of useless local documentation

Related External Links:

Article Topic:Software Development - Ruby / Rails

Date:October 31, 2015