diff options
Diffstat (limited to 'lib/rubygems/defaults.rb')
-rw-r--r-- | lib/rubygems/defaults.rb | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lib/rubygems/defaults.rb b/lib/rubygems/defaults.rb index 16fa96eb2d..43d57fc808 100644 --- a/lib/rubygems/defaults.rb +++ b/lib/rubygems/defaults.rb @@ -175,4 +175,22 @@ module Gem RbConfig::CONFIG['ruby_version'] end + ## + # Default options for gem commands. + # + # The options here should be structured as an array of string "gem" + # command names as keys and a string of the default options as values. + # + # Example: + # + # def self.platform_defaults + # { + # 'install' => '--no-rdoc --no-ri --env-shebang', + # 'update' => '--no-rdoc --no-ri --env-shebang' + # } + # end + + def self.platform_defaults + {} + end end |