We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0def57b commit d8ff979Copy full SHA for d8ff979
lib/bundler/multilock.rb
@@ -512,6 +512,14 @@ 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
+ definition.instance_variable_get(:@missing_lockfile_dep) ||
519
+ definition.instance_variable_get(:@invalid_lockfile_dep)
520
+ raise SolveFailure
521
+ end
522
+
523
# this is a horrible hack, to fix what I consider to be a Bundler bug.
524
# basically, if you have multiple platform specific gems in your
525
# lockfile, and that gem gets unlocked, Bundler will only search
0 commit comments