summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2024-11-14 09:40:00 +0100
committerHiroshi SHIBATA <hsbt@ruby-lang.org>2024-11-26 15:11:05 +0900
commit631908d9a8dbdb74bd4bf2c39b451a17d85640b8 (patch)
treec0926b7371d7868ec264b832abd6f37e2c94c2c9 /lib
parent6916999fed6f3db258eb0180d89468df737db87b (diff)
[rubygems/rubygems] Use `platform` local variable
https://github.com/rubygems/rubygems/commit/6a6041d073
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/spec_set.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/spec_set.rb b/lib/bundler/spec_set.rb
index 5471db35d1..8d62be4373 100644
--- a/lib/bundler/spec_set.rb
+++ b/lib/bundler/spec_set.rb
@@ -38,7 +38,7 @@ module Bundler
specs_for_dep.first.dependencies.each do |d|
next if d.type == :development
incomplete = true if d.name != "bundler" && lookup[d.name].nil?
- deps << [d, dep[1]]
+ deps << [d, platform]
end
else
incomplete = true