End of Life Ruby 3.1 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem.platform_defaults
platform_defaults
lib/rubygems/defaults.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.1.3/lib/rubygems/defaults.rb, line 274
def self.platform_defaults
{}
end
Default options for gem commands for Ruby implementers.
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
Example
{
'install' => '--no-rdoc --no-ri --env-shebang',
'update' => '--no-rdoc --no-ri --env-shebang'
}
end