Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7743581
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 1, 20262026-06-01T09:34:19+00:00 2026-06-01T09:34:19+00:00

It is always frustrating to install a gem and wait 2 seconds for the

  • 0

It is always frustrating to install a gem and wait 2 seconds for the gem to install and then wait 30 seconds for the docs, which I never use(Google, anyone?). Why do we force this convention upon ourselves when the local docs normally aren’t even beneficial?

I know you can use gem install rails --no-ri --no-rdoc to skip that step but is there a way to simply skip the docs by default?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-01T09:34:21+00:00Added an answer on June 1, 2026 at 9:34 am

    Add the flags to your ~/.gemrc file.

    From the docs:

    gem looks for a configuration file .gemrc in your home directory,
    although you can specify another file on the command-line if you wish
    (with the --config-file modifier). Only one configuration file will be
    processed: the rightmost one on the command-line, or the default
    $HOME/.gemrc, or none at all.

    There are three things you can specify in the configuration file:

    • command-line arguments to be used every time gem runs
    • command-line options for “RDoc” (used when generating documentation)
    • GEMPATH settings

    The config file itself is in “YAML” format. Here is an example:

    gem:  --local --gen-rdoc --run-tests
    rdoc: --inline-source --line-numbers
    gempath:
     - /usr/local/rubygems
     - /home/gavin/.rubygems
    

    The effects of such a config file would be:

    • gem only runs “local” operations (unless you specify --remote or --both on the command-line)
    • gem generates RDocs and runs unit tests every time it installs something (good idea!)
    • when it generates RDocs, the given arguments will be used
    • /usr/local/rubygems and /home/gavin/rubygems will be used as your $GEM_PATH setting
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have this situation which is rather frustrating... I have some user controls where
This has been frustrating me for days now. I am trying to use Sharepoint
One thing I've always found frustrating is when a library I use is no
I always get confused when I am about to use a bit map to
I always hear using global variables are dangerous. Does this apply to Drupal? Take
This is getting Frustrating ... I am semi-new to web services, and I dont
I've been trying to figure this out for hours and it's soo frustrating! I
I think this has to be THE most frustrating thing I've ever done in
This is kind of frustrating me as I've been grizzling over it for a
internet cake for anyone who can help me with this. I have a long

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.