diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 7816d065c6..38bb9bf6b7 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -245,7 +245,7 @@ class BuildError < RuntimeError end end puts - unless RUBY_VERSION < "1.8.7" || issues.empty? + if RUBY_VERSION >= "1.8.7" && issues && issues.any? puts "These open issues may also help:" puts issues.map { |i| "#{i["title"]} #{i["html_url"]}" }.join("\n") end