diff options
| author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2023-06-30 11:52:11 +0200 |
|---|---|---|
| committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2023-07-04 14:54:25 +0900 |
| commit | 0fcb4c6af72a5fe4222a705e161dc0b42d135fba (patch) | |
| tree | 8ab3f395ceb2b1f235f86bb2a02a2d89984f8b08 /lib | |
| parent | af9eeb19d8b73a951776ea91901618d6e038d030 (diff) | |
[rubygems/rubygems] Fix another incorrect removal of "ruby" platform from lockfile
When dependencies in path sources have changed, we'll be re-resolving,
and we can't really know whether the resolution will be valid or invalid
for the Ruby platform, so skip the removal in that case.
https://github.com/rubygems/rubygems/commit/afc3b0956f
Diffstat (limited to 'lib')
| -rw-r--r-- | lib/bundler/definition.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/bundler/definition.rb b/lib/bundler/definition.rb index 070543575d..d7246dadf0 100644 --- a/lib/bundler/definition.rb +++ b/lib/bundler/definition.rb @@ -941,6 +941,7 @@ module Bundler Bundler.local_platform == Gem::Platform::RUBY || !platforms.include?(Gem::Platform::RUBY) || (@new_platform && platforms.last == Gem::Platform::RUBY) || + @path_changes || @dependency_changes || !@originally_locked_specs.incomplete_ruby_specs?(dependencies) |
