I rarely use the rdocs or ri docs that build with gems when you install them, as it’s usually easier for me to just search it online. I get tired of trying to remember the command line option to not generate the docs, so I created an alias I thought I’d share with everyone.
For example, in Mac OS X, include this code in your ~/.bash_login file:
alias grind='gem install --no-rdoc --no-ri'
Then, when you want to install a gem (i.e. rails), instead of calling ‘gem install rails —no-rdoc—no-ri’, use:
grind rails

