We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0def57b commit 8fe5834Copy full SHA for 8fe5834
lib/bundler/multilock.rb
@@ -512,6 +512,12 @@ def write_lockfile(lockfile_definition,
512
previous_ui_level = Bundler.ui.level
513
Bundler.ui.level = "warn"
514
begin
515
+ # force a remote resolution if intermediate gems are missing
516
+ if definition.instance_variable_get(:@locked_spec_with_missing_deps) ||
517
+ definition.instance_variable_get(:@locked_spec_with_invalid_deps)
518
+ raise SolveFailure
519
+ end
520
+
521
# this is a horrible hack, to fix what I consider to be a Bundler bug.
522
# basically, if you have multiple platform specific gems in your
523
# lockfile, and that gem gets unlocked, Bundler will only search
0 commit comments