Faster Ruby Gem installs

Posted by Steven Soroka 06 Apr 2010

Ruby gems install slowly because rdoc and ri documentation are generated as the gems install. Since this is rarely used, why not turn it off? I always check the internet for up-to-date docs anyway, which give me a chance to see if there’s a newer version of the gem out.

To turn these off, modify your ~/.gemrc file and add the line:

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

archive