class method
Gem.config_home
() -> ::String
config_home
lib/rubygems/defaults.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/rubygems/defaults.rb, line 114
def self.config_home
@config_home ||= ENV["XDG_CONFIG_HOME"] || File.join(Gem.user_home, ".config")
end
The path to standard location of the user’s configuration directory.
See also
.config_file
.configuration
.clear_paths
.configuration=
also in
4.1 · 3.4 · 3.3 · 3.2 · 3.1 · 3.0