Skip to content

Commit 84c9f2a

Browse files
x-yurimatzbot
authored andcommitted
[rubygems/rubygems] Make "bundler? update --bundler" behave identically
rubygems/rubygems@30dce3f87d
1 parent 83f57ca commit 84c9f2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/rubygems/bundler_version_finder.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def self.prioritize!(specs)
2121
end
2222

2323
def self.bundle_update_bundler_version
24-
return unless File.basename($0) == "bundle"
24+
return unless ["bundle", "bundler"].include? File.basename($0)
2525
return unless "update".start_with?(ARGV.first || " ")
2626
bundler_version = nil
2727
update_index = nil

0 commit comments

Comments
 (0)