diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2023-03-17 13:39:20 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-23 17:18:49 +0900 |
commit | 4e7c39f98ceaf5160d9a97b7d2405623f972773a (patch) | |
tree | 30239c9d71ca5f1188fc672c73b8cfdc9d85ed63 /lib/bundler/spec_set.rb | |
parent | acf12b6dfdd94ce1da55eaf2dfacc75135385c2a (diff) |
Don't remove RUBY platform when healing a lockfile with missing specs
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/7582
Diffstat (limited to 'lib/bundler/spec_set.rb')
-rw-r--r-- | lib/bundler/spec_set.rb | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/bundler/spec_set.rb b/lib/bundler/spec_set.rb index 08f523312c..4882f7b38a 100644 --- a/lib/bundler/spec_set.rb +++ b/lib/bundler/spec_set.rb @@ -101,6 +101,8 @@ module Bundler end def incomplete_ruby_specs?(deps) + return false if @specs.empty? + self.for(deps, true, [Gem::Platform::RUBY]) @incomplete_specs.any? |