method

global_config_file

ruby latest stable - Class: Bundler::Settings

Method not available on this version

This method is only available on newer versions. The first available version (v2_6_3) is shown here.

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