Install gem without documentation

If you need to install your gems without extra documentation, use flags –no-rdoc and –no-ri

Example:

$ gem install --no-rdoc --no-ri rails

Comments (3)

  1. Daniel Waite wrote::

    Thank you for this information. I’m certain it’s covered elsewhere, but too often simple tasks such as this are mired down in endless bullshit.

    Friday, December 5, 2008 at 1:46 am #
  2. Kirk Bushell wrote::

    @ Daniel Waite – it’s in the gem help – type gem help install =)

    Thursday, February 26, 2009 at 6:29 am #
  3. John wrote::

    Thanks for this! It takes way too long to install the rails documentation.

    Monday, November 23, 2009 at 5:27 pm #