summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Rodríguez <[email protected]>2025-06-03 12:56:55 +0200
committerHiroshi SHIBATA <[email protected]>2025-06-05 19:12:44 +0900
commit5cf07c1e8fa32ff4619c02b1762b5b7bb074ad71 (patch)
tree930b4f54ac73d87154138ae2de0d767dbed77a6a /lib
parent1befc5d1024419fcd96fa986eecc5cd16aa43ab4 (diff)
[rubygems/rubygems] Look in configured path when checking if self-update version is installed
https://github.com/rubygems/rubygems/commit/1ce0882e6f
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/self_manager.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/self_manager.rb b/lib/bundler/self_manager.rb
index 024884cf2d..53eb2c1859 100644
--- a/lib/bundler/self_manager.rb
+++ b/lib/bundler/self_manager.rb
@@ -142,6 +142,7 @@ module Bundler
end
def find_latest_matching_spec(requirement)
+ Bundler.configure
local_result = find_latest_matching_spec_from_collection(local_specs, requirement)
return local_result if local_result && requirement.specific?