From 3eca1e438db6fabaa7cd5e5a7120da147ac0ec26 Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA Date: Mon, 5 Sep 2022 09:15:30 +0900 Subject: Merge https://github.com/rubygems/rubygems/commit/16c3535413afebcdbab7582c6017c27b5da8a8dc --- lib/bundler/settings.rb | 7 ------- 1 file changed, 7 deletions(-) (limited to 'lib/bundler/settings.rb') diff --git a/lib/bundler/settings.rb b/lib/bundler/settings.rb index cf5675274e..a76a792743 100644 --- a/lib/bundler/settings.rb +++ b/lib/bundler/settings.rb @@ -45,7 +45,6 @@ module Bundler silence_root_warning suppress_install_using_messages update_requires_all_flag - use_gem_version_promoter_for_major_updates ].freeze NUMBER_KEYS = %w[ @@ -278,12 +277,6 @@ module Bundler end end - def allow_sudo? - key = key_for(:path) - path_configured = @temporary.key?(key) || @local_config.key?(key) - !path_configured - end - def ignore_config? ENV["BUNDLE_IGNORE_CONFIG"] end -- cgit v1.2.3