From ec2bc88987d55f5ac4d229d7f7af9279edc48839 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Sun, 2 Jun 2013 18:33:29 -0500 Subject: [PATCH] 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. --- Library/Homebrew/exceptions.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 0dbdb8b1d3..c91d917d0a 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