summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2025-04-12 16:01:27 +0200
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2025-04-15 16:47:17 +0900
commit3cb573ee55f3d3af03f3a232ba442bd949277f17 (patch)
tree31c0b6c5c82a81814c9b9f10cbf72d96f2cff4b4 /lib
parent00389b664bc6f5faaaaef9ddb2fb706052a20de4 (diff)
[rubygems/rubygems] Only platforms are relevant here
https://github.com/rubygems/rubygems/commit/4b6f07f634
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/lazy_specification.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/lazy_specification.rb b/lib/bundler/lazy_specification.rb
index 99970f8336..b9c6070005 100644
--- a/lib/bundler/lazy_specification.rb
+++ b/lib/bundler/lazy_specification.rb
@@ -215,7 +215,7 @@ module Bundler
search = candidates.last
end
- if search && search.full_name == full_name
+ if search && search.platform == platform
# We don't validate locally installed dependencies but accept what's in
# the lockfile instead for performance, since loading locally installed
# dependencies would mean evaluating all gemspecs, which would affect