diff options
author | Andre Arko <andre@arko.net> | 2014-04-13 15:10:09 -0700 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2014-04-13 15:11:10 -0700 |
commit | 0efe0215fd025d1bffe681512f757953108c6f30 (patch) | |
tree | f5ffd3d36b21a9a996193a2b65f190add0f55fd0 | |
parent | e8549ed65d060e8c5512ce40ce9571d508fb5b0a (diff) | |
download | bundler-0efe0215fd025d1bffe681512f757953108c6f30.tar.gz |
don't update the cache while frozen!
-rw-r--r-- | lib/bundler/cli/install.rb | 2 |
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]) |