Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

silence warnings etc during `platforms`

  • Loading branch information...
commit 33ed52e703b3fa9337787344f0425063b33a2f91 1 parent 7d0fcc7
André Arko indirect authored
Showing with 5 additions and 3 deletions.
  1. +5 −3 lib/bundler/cli.rb
8 lib/bundler/cli.rb
View
@@ -742,9 +742,11 @@ def clean
method_option "ruby", :type => :boolean, :default => false, :banner =>
"only display ruby related platform information"
def platform
- platforms = Bundler.definition.platforms.map {|p| "* #{p}" }
- ruby_version = Bundler.definition.ruby_version
- output = []
+ platforms, ruby_version = Bundler.ui.silence do
+ [ Bundler.definition.platforms.map {|p| "* #{p}" },
+ Bundler.definition.ruby_version ]
+ end
+ output = []
if options[:ruby]
if ruby_version
Please sign in to comment.
Something went wrong with that request. Please try again.