diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2023-03-16 18:37:42 +0100 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-03-23 17:18:49 +0900 |
commit | 8e6bbc032c1bde617a45e418af697831df471083 (patch) | |
tree | 1c72bed11329f3c2151c2702a817d05500bc6110 /lib | |
parent | 4e7c39f98ceaf5160d9a97b7d2405623f972773a (diff) | |
download | ruby-8e6bbc032c1bde617a45e418af697831df471083.tar.gz |
Don't remove RUBY platform when healing a lockfile with missing specs
Diffstat (limited to 'lib')
-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 4882f7b38a..cf63c16a70 100644 --- a/lib/bundler/spec_set.rb +++ b/lib/bundler/spec_set.rb @@ -103,6 +103,8 @@ module Bundler def incomplete_ruby_specs?(deps) return false if @specs.empty? + @incomplete_specs = [] + self.for(deps, true, [Gem::Platform::RUBY]) @incomplete_specs.any? |