Some larger projects, especially Ruby on Rails, come with quite a bit of documentation. This is good, documentation is good, but the code that processes this documentation (RDoc) into HTML and ri format is not exactly speedy. On slower computers, or with larger projects, the time this takes becomes and annoyance.
You can get around this though. By installing Gems with the --no-rdoc --no-ri switches will skip this step.
$ gem install --no-rdoc --no-ri rails
If you want this to be the default behavior every time you install a new gem, you can put this into your .gemrc file. This will define the default parameters that will be passed to the gem command every time you run it. To do this, open your .gemrc file (stored in your home directory on Linux and OS X) and add the following line.
gem: --no-ri --no-rdoc

