End of Life Ruby 3.0 has reached end of life and gets no more fixes. Switch to Ruby 4.0 →
class method
Gem.config_file
config_file
lib/rubygems/defaults.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.0.5/lib/rubygems/defaults.rb, line 146
def self.config_file
@config_file ||= find_config_file.tap(&Gem::UNTAINT)
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.4 · 3.3 · 3.2 · 3.1