[rubygems/rubygems] Make "bundler? update --bundler" behave identically

https://github.com/rubygems/rubygems/commit/30dce3f87d
This commit is contained in:
Yuri Kanivetsky 2024-06-19 18:58:37 +03:00 committed by git
parent 83f57ca3d2
commit 84c9f2a240

View File

@ -21,7 +21,7 @@ module Gem::BundlerVersionFinder
end
def self.bundle_update_bundler_version
return unless File.basename($0) == "bundle"
return unless ["bundle", "bundler"].include? File.basename($0)
return unless "update".start_with?(ARGV.first || " ")
bundler_version = nil
update_index = nil