lib/bundler/cli/cache.rb in bundler-2.2.6 vs lib/bundler/cli/cache.rb in bundler-2.2.7
- old
+ new
@@ -28,9 +28,10 @@
def install
require_relative "install"
options = self.options.dup
options["local"] = false if Bundler.settings[:cache_all_platforms]
+ options["no-cache"] = true
Bundler::CLI::Install.new(options).run
end
def setup_cache_all
all = options.fetch(:all, Bundler.feature_flag.cache_all? || nil)