on Nov 21st, 2008Install 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

3 Responses to “Install gem without documentation”

  1. Gravatar
    Daniel Waiteon 05 Dec 2008 at 1:46 am

    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.

  2. Gravatar
    Kirk Bushellon 26 Feb 2009 at 6:29 am

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

  3. Gravatar
    Johnon 23 Nov 2009 at 5:27 pm

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

Trackback URI |