Skip to content
This repository has been archived by the owner on Apr 14, 2021. It is now read-only.

Commit

Permalink
Fix install option --no-cache to prevent updating the cache (referenc…
Browse files Browse the repository at this point in the history
…e commits 4601dde and e4287d2)
  • Loading branch information
Lytol authored and indirect committed Jan 19, 2011
1 parent 443b316 commit 3af9a88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/bundler/cli.rb
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ def install(path = nil)
Bundler.ui.be_quiet! if opts[:quiet] Bundler.ui.be_quiet! if opts[:quiet]


Installer.install(Bundler.root, Bundler.definition, opts) 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] if Bundler.settings[:path]
relative_path = Bundler.settings[:path] relative_path = Bundler.settings[:path]
Expand Down

0 comments on commit 3af9a88

Please sign in to comment.