summaryrefslogtreecommitdiff
path: root/lib/bundler.rb
diff options
context:
space:
mode:
authorHomu <homu@barosl.com>2015-08-31 04:55:47 +0900
committerHomu <homu@barosl.com>2015-08-31 04:55:47 +0900
commit4cc8417a68c72e61d477b4f7d8feaeab692025ea (patch)
treec9e8775f27835ef6f8287fd67b3557b149ff8152 /lib/bundler.rb
parentce13e4eef34600926ce6a6d4f3027aeb86be408c (diff)
parent6d23012ad385ce51235d0610b30ca3c3952596b5 (diff)
downloadbundler-4cc8417a68c72e61d477b4f7d8feaeab692025ea.tar.gz
Auto merge of #3969 - agis-:issue-3895, r=segiddins
Output gemspec validation errors on exec commands Fixes #3895.
Diffstat (limited to 'lib/bundler.rb')
-rw-r--r--lib/bundler.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/bundler.rb b/lib/bundler.rb
index eacee447e0..b7b43ed8e0 100644
--- a/lib/bundler.rb
+++ b/lib/bundler.rb
@@ -409,7 +409,7 @@ module Bundler
spec
end
rescue Gem::InvalidSpecificationException => e
- Bundler.ui.warn "The gemspec at #{file} is not valid. " \
+ UI::Shell.new.warn "The gemspec at #{file} is not valid. " \
"The validation error was '#{e.message}'"
nil
end