diff options
author | Andre Arko <andre@arko.net> | 2013-02-13 12:28:34 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-02-13 14:17:52 -0800 |
commit | 72fabb1b77b2f9f16e80d4551fc22cf9c102783a (patch) | |
tree | daab361824ed4f8ce197e2ef326890d224afa8d9 | |
parent | 421dbf2b36dd312b265929e6af4d914dc65c3e74 (diff) | |
download | bundler-72fabb1b77b2f9f16e80d4551fc22cf9c102783a.tar.gz |
squelch all output during local check resolve
-rw-r--r-- | lib/bundler/installer.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/bundler/installer.rb b/lib/bundler/installer.rb index d8efedfe65..21efb965b2 100644 --- a/lib/bundler/installer.rb +++ b/lib/bundler/installer.rb @@ -66,13 +66,13 @@ module Bundler end if Bundler.default_lockfile.exist? && !options["update"] - old, Bundler.ui.quiet = Bundler.ui.quiet, true + real_ui, Bundler.ui = Bundler.ui, Bundler::UI.new begin tmpdef = Definition.build(Bundler.default_gemfile, Bundler.default_lockfile, nil) local = true unless tmpdef.new_platform? || tmpdef.missing_specs.any? rescue BundlerError end - Bundler.ui.quiet = old + Bundler.ui = real_ui end # Since we are installing, we can resolve the definition |