Skip to content
Snippets Groups Projects
Commit ec2bc889 authored by Misty De Meo's avatar Misty De Meo
Browse files

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.
parent fae36326
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment