diff options
author | Andre Arko <andre@arko.net> | 2013-03-05 21:17:16 -0800 |
---|---|---|
committer | Andre Arko <andre@arko.net> | 2013-03-05 21:17:16 -0800 |
commit | 253c299b00d4b059c381eae2522ce058e691befb (patch) | |
tree | 2057beb92ef01676292225cd825624236cf7f32d | |
parent | e8677119baaae61da448ccd772a3cbf7175d2e89 (diff) | |
download | bundler-253c299b00d4b059c381eae2522ce058e691befb.tar.gz |
silence resolver during show
-rw-r--r-- | lib/bundler/cli.rb | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/bundler/cli.rb b/lib/bundler/cli.rb index f906796dc5..2544641f64 100644 --- a/lib/bundler/cli.rb +++ b/lib/bundler/cli.rb @@ -328,8 +328,10 @@ module Bundler method_option "paths", :type => :boolean, :banner => "List the paths of all gems that are required by your Gemfile." def show(gem_name = nil) - Bundler.definition.validate_ruby! - Bundler.load.lock + Bundler.ui.silence do + Bundler.definition.validate_ruby! + Bundler.load.lock + end if gem_name if gem_name == "bundler" |