Skip to content

Preview Ruby 4.1 is a preview. It can change before the final release. Switch to Ruby 4.0 →

class method

Gem.configuration=

(::Gem::ConfigFile config) -> ::Gem::ConfigFile
configuration=(config)

Use the given configuration object (which implements the ConfigFile protocol) as the standard configuration object.