method
global_config_file
v2_6_3 -
Show latest stable
- Class:
Bundler::Settings
global_config_file()private
No documentation available.
# File lib/bundler/settings.rb, line 393
def global_config_file
if ENV["BUNDLE_CONFIG"] && !ENV["BUNDLE_CONFIG"].empty?
Pathname.new(ENV["BUNDLE_CONFIG"])
else
begin
Bundler.user_bundle_path("config")
rescue PermissionError, GenericSystemCallError
nil
end
end
end