summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/bundler/cli/install.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli/install.rb b/lib/bundler/cli/install.rb
index 93f1deb02d..6d95f73452 100644
--- a/lib/bundler/cli/install.rb
+++ b/lib/bundler/cli/install.rb
@@ -76,7 +76,7 @@ module Bundler
definition = Bundler.definition
definition.validate_ruby!
Installer.install(Bundler.root, definition, options)
- Bundler.load.cache if Bundler.root.join("vendor/cache").exist? && !options["no-cache"]
+ Bundler.load.cache if Bundler.root.join("vendor/cache").exist? && !options["no-cache"] && !Bundler.settings[:frozen]
if Bundler.settings[:path]
absolute_path = File.expand_path(Bundler.settings[:path])