diff options
author | Brian Smith <bsmith@swig505.com> | 2011-01-14 15:32:55 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2011-01-18 17:41:53 -0800 |
commit | 3af9a88d2bb82f439cb4c00b37d1077740ce9cc8 (patch) | |
tree | 9669ff1925bbd223b34928193f14373b7cc6228f | |
parent | 443b31658e5e6eacbac9947373ddf94ac697b950 (diff) | |
download | bundler-3af9a88d2bb82f439cb4c00b37d1077740ce9cc8.tar.gz |
Fix install option --no-cache to prevent updating the cache (reference commits 4601dde and e4287d2)
-rw-r--r-- | lib/bundler/cli.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index a307ebb45e..9bf68ebb83 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -223,7 +223,7 @@ module Bundler Bundler.ui.be_quiet! if opts[:quiet] Installer.install(Bundler.root, Bundler.definition, opts) - Bundler.load.cache if Bundler.root.join("vendor/cache").exist? + Bundler.load.cache if Bundler.root.join("vendor/cache").exist? && !options[:no_cache] if Bundler.settings[:path] relative_path = Bundler.settings[:path] |