summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndre Arko <andre@arko.net>2014-04-13 15:10:09 -0700
committerAndre Arko <andre@arko.net>2014-04-13 15:11:10 -0700
commit0efe0215fd025d1bffe681512f757953108c6f30 (patch)
treef5ffd3d36b21a9a996193a2b65f190add0f55fd0
parente8549ed65d060e8c5512ce40ce9571d508fb5b0a (diff)
downloadbundler-0efe0215fd025d1bffe681512f757953108c6f30.tar.gz
don't update the cache while frozen!
-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])