Top Level Namespace
Defined Under Namespace
Modules: Gem, Kernel, Psych, YAML Classes: Date, GemGauntlet, TempIO
Constant Summary collapse
Instance Method Summary collapse
-
#rbconfig ⇒ Object
Gem::ConfigFile RubyGems options and gem command options from ~/.gemrc.
Instance Method Details
#rbconfig ⇒ Object
Gem::ConfigFile RubyGems options and gem command options from ~/.gemrc.
~/.gemrc is a YAML file that uses strings to match gem command arguments and symbols to match RubyGems options.
Gem command arguments use a String key that matches the command name and allow you to specify default arguments:
install: --no-rdoc --no-ri
update: --no-rdoc --no-ri
You can use gem:
to set default arguments for all commands.
RubyGems options use symbol keys. Valid options are:
:backtrace
-
See #backtrace
:benchmark
-
See #benchmark
:sources
-
Sets Gem::sources
:verbose
-
See #verbose
28 |
# File 'lib/rubygems/config_file.rb', line 28 require 'rbconfig' |