Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem.configuration=
configuration=(config)
lib/rubygems.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/rubygems.rb, line 332
def self.configuration=(config)
@configuration = config
end
Use the given configuration object (which implements the ConfigFile protocol) as the standard configuration object.
See also
.configuration
.data_home
.config_home
.default_bindir
also in
4.1 · 4.0 · 3.4 · 3.2 · 3.1 · 3.0