Further improve brew doctor issue wiki text.
Following feedback from @mxcl on bcda0d.
This commit is contained in:
parent
86b1b2878d
commit
8d949520ec
@ -125,7 +125,7 @@ class BuildError < Homebrew::InstallationError
|
|||||||
onoe "#{e.to_s.strip} (#{formula_name}.rb:#{error_line})"
|
onoe "#{e.to_s.strip} (#{formula_name}.rb:#{error_line})"
|
||||||
issues = GitHub.issues_for_formula formula_name
|
issues = GitHub.issues_for_formula formula_name
|
||||||
if issues.empty?
|
if issues.empty?
|
||||||
puts "If `brew doctor` does not, this may help you fix or report the issue:"
|
puts "This may help you fix or report the issue if `brew doctor` does not:"
|
||||||
puts " #{Tty.em}#{issues_url}#{Tty.reset}"
|
puts " #{Tty.em}#{issues_url}#{Tty.reset}"
|
||||||
else
|
else
|
||||||
puts "These existing issues may help you:", *issues.map{ |s| " #{Tty.em}#{s}#{Tty.reset}" }
|
puts "These existing issues may help you:", *issues.map{ |s| " #{Tty.em}#{s}#{Tty.reset}" }
|
||||||
@ -135,7 +135,7 @@ class BuildError < Homebrew::InstallationError
|
|||||||
if e.was_running_configure?
|
if e.was_running_configure?
|
||||||
puts "We saved the configure log:"
|
puts "We saved the configure log:"
|
||||||
puts " ~/Library/Logs/Homebrew/config.log"
|
puts " ~/Library/Logs/Homebrew/config.log"
|
||||||
puts "If you report the issue please paste the config.log here:"
|
puts "When you report the issue please paste the config.log here:"
|
||||||
puts " #{Tty.em}http://gist.github.com/#{Tty.reset}"
|
puts " #{Tty.em}http://gist.github.com/#{Tty.reset}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user