diff --git a/Gemfile.lock b/Gemfile.lock index 9dfce22..d9a3e16 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - bundler-multilock (1.0.9) + bundler-multilock (1.0.10) bundler (~> 2.4.19) GEM diff --git a/lib/bundler/multilock.rb b/lib/bundler/multilock.rb index b9cd80e..bb3671e 100644 --- a/lib/bundler/multilock.rb +++ b/lib/bundler/multilock.rb @@ -395,6 +395,7 @@ def write_lockfile(lockfile_definition, lockfile, install:, dependency_changes: if install current_definition = builder.to_definition(current_lockfile, {}) begin + current_definition.resolve_with_cache! if current_definition.missing_specs.any? Bundler.with_default_lockfile(current_lockfile) do Installer.install(gemfile.dirname, current_definition, {}) diff --git a/lib/bundler/multilock/version.rb b/lib/bundler/multilock/version.rb index 90d389c..864bd68 100644 --- a/lib/bundler/multilock/version.rb +++ b/lib/bundler/multilock/version.rb @@ -2,6 +2,6 @@ module Bundler module Multilock - VERSION = "1.0.9" + VERSION = "1.0.10" end end