Maintenance Ruby 3.4 gets fixes, but no new features. Switch to Ruby 4.0 →
class method
Gem.config_file
() -> ::String
config_file
lib/rubygems/defaults.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.4.1/lib/rubygems/defaults.rb, line 133
def self.config_file
@config_file ||= find_config_file
end
The path to standard location of the user’s .gemrc file.
See also
.clear_paths
.config_home
.clear_default_specs
.configuration
also in
4.1 · 4.0 · 3.3 · 3.2 · 3.1 · 3.0