diff options
author | Yuri Kanivetsky <[email protected]> | 2024-06-19 18:58:37 +0300 |
---|---|---|
committer | git <[email protected]> | 2024-06-20 00:12:31 +0000 |
commit | 84c9f2a240a623c4bb1a19fd6c63f9fd3c7e4315 (patch) | |
tree | a0120d7fcedf89f740008a6f39ad9dc80e2edf5d | |
parent | 83f57ca3d225ce06abbc5eef6aec37de4fa36d58 (diff) |
[rubygems/rubygems] Make "bundler? update --bundler" behave identically
https://github.com/rubygems/rubygems/commit/30dce3f87d
-rw-r--r-- | lib/rubygems/bundler_version_finder.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/bundler_version_finder.rb b/lib/rubygems/bundler_version_finder.rb index dd2fd77418..4ebbad1c0c 100644 --- a/lib/rubygems/bundler_version_finder.rb +++ b/lib/rubygems/bundler_version_finder.rb @@ -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 |