Permalink
Browse files

Fix install option --no-cache to prevent updating the cache (referenc…

…e commits 4601dde and e4287d2)
  • Loading branch information...
1 parent 443b316 commit 3af9a88d2bb82f439cb4c00b37d1077740ce9cc8 @Lytol Lytol committed with indirect Jan 14, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/bundler/cli.rb
View
@@ -223,7 +223,7 @@ def install(path = nil)
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]

0 comments on commit 3af9a88

Please sign in to comment.