[Rubygems-developers] [ rubygems-Bugs-28742 ] Manual states gemrc is looked up in home directory only whereas /etc/gemrc is also consulted

noreply at rubyforge.org noreply at rubyforge.org
Mon Nov 22 12:02:15 EST 2010


Bugs item #28742, was opened at 2010-11-22 17:02
You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28742&group_id=126

Category: documentation
Group: v1.3.x
Status: Open
Resolution: None
Priority: 3
Submitted By: Rich Meyers (richmeyers)
Assigned to: Nobody (None)
Summary: Manual states gemrc is looked up in home directory only whereas /etc/gemrc is also consulted

Initial Comment:
Documentation here: http://docs.rubygems.org/read/chapter/11 states:

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.

In actuality, configuration may be taken from /etc/gemrc if it exists.

RubyGems Environment:
  - RUBYGEMS VERSION: 1.3.7
  - RUBY VERSION: 1.8.7 (2009-12-24 patchlevel 248) [amd64-freebsd8]
  - INSTALLATION DIRECTORY: /usr/local/lib/ruby/gems/1.8
  - RUBY EXECUTABLE: /usr/local/bin/ruby18
  - EXECUTABLE DIRECTORY: /usr/local/bin
  - RUBYGEMS PLATFORMS:
    - ruby
    - amd64-freebsd-8
  - GEM PATHS:
     - /usr/local/lib/ruby/gems/1.8
     - /home/rm/.gem/ruby/1.8
  - GEM CONFIGURATION:
     - :update_sources => true
     - :verbose => true
     - :benchmark => false
     - :backtrace => false
     - :bulk_threshold => 1000
  - REMOTE SOURCES:
     - http://gems.rubyforge.org


----------------------------------------------------------------------

You can respond by visiting: 
http://rubyforge.org/tracker/?func=detail&atid=575&aid=28742&group_id=126


More information about the Rubygems-developers mailing list