aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMisty De Meo2013-06-02 18:33:29 -0500
committerMisty De Meo2013-06-02 18:33:45 -0500
commitec2bc88987d55f5ac4d229d7f7af9279edc48839 (patch)
treebf09b0d1d88f9782a57c12f3c0b3eaf79b856701 /Library
parentfae363268b9d86f0347337b0e84074052b260be9 (diff)
downloadbrew-ec2bc88987d55f5ac4d229d7f7af9279edc48839.tar.bz2
InstallationError: don't search issues on < 1.8.6
open-uri on Ruby pre-1.8.6 simply will not open https URLs at all, making it impossible to check the Github API using the same method as Homebrew. This may only be disabled temporarily until the issue search is rewritten, for example to use the curl helper.
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/exceptions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb
index 0dbdb8b1d..c91d917d0 100644
--- a/Library/Homebrew/exceptions.rb
+++ b/Library/Homebrew/exceptions.rb
@@ -153,7 +153,7 @@ class BuildError < Homebrew::InstallationError
end
end
puts
- unless issues.empty?
+ unless RUBY_VERSION < "1.8.6" || issues.empty?
puts "These open issues may also help:"
puts issues.map{ |s| " #{s}" }.join("\n")
end