Publicize 'brew doctor' in build failure message.
This commit is contained in:
parent
db62a9ef9c
commit
0f7b3bd408
1
bin/brew
1
bin/brew
@ -407,6 +407,7 @@ rescue BuildError => e
|
|||||||
# then replace that string with the following when the github api returns
|
# then replace that string with the following when the github api returns
|
||||||
issues = issues_for_formula(formula_name)
|
issues = issues_for_formula(formula_name)
|
||||||
puts "These existing issues may help you:", *issues unless issues.empty?
|
puts "These existing issues may help you:", *issues unless issues.empty?
|
||||||
|
puts "Consider running `brew doctor` if a large number of installs are failing."
|
||||||
exit 1
|
exit 1
|
||||||
rescue RuntimeError, SystemCallError => e
|
rescue RuntimeError, SystemCallError => e
|
||||||
onoe e
|
onoe e
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user