Instead of specifying --no-ri --no-rdoc in the gem install command every time, put the following in your local gemrc file located in ~/.gemrc, it will skip installing documentation for all the gem installation by default, which is ideal for production environment.

Leave a comment