From ab4f9e57aeb964f106fac137c25ba8f06b7e3007 Mon Sep 17 00:00:00 2001 From: Misty De Meo Date: Mon, 17 Mar 2014 11:52:11 -0700 Subject: [PATCH] Don't check issues on Ruby 1.8.6 The system certs are too old to be able to read from Github, so don't try to use the Github API on 1.8.6 either. --- 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 73812b3558..fbdb261bad 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -219,7 +219,7 @@ class BuildError < Homebrew::InstallationError end end puts - unless RUBY_VERSION < "1.8.6" || issues.empty? + unless RUBY_VERSION < "1.8.7" || issues.empty? puts "These open issues may also help:" puts issues.map{ |i| "#{i['title']} (#{i['html_url']})" }.join("\n") end