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

  • Home
  • SEARCH
  • 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

One thing I've always found frustrating is when a library I use is no
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
It's really frustrating. I've always used .val() like this, but now it doesn't work.
I always thought that you could use OR in a LIKE statment to query
We always alloc before init in Objective C, then while writing init method, Why
I always use preg_match and it always works fine, but today I was trying
Compiling the following coe always get the same frustrating mistake. I'm trying to compare
I have this frustrating issue: I am trying to see if TimeoutException is thrown
I've been trying to figure this out for hours and it's soo frustrating! I

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.