From 0f7b3bd408cd3dfdf2db61f5b3dc0f24265164fe Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Tue, 20 Apr 2010 12:29:17 -0700 Subject: [PATCH] Publicize 'brew doctor' in build failure message. --- bin/brew | 1 + 1 file changed, 1 insertion(+) diff --git a/bin/brew b/bin/brew index fc96bc1de1..9061d49572 100755 --- a/bin/brew +++ b/bin/brew @@ -407,6 +407,7 @@ rescue BuildError => e # then replace that string with the following when the github api returns issues = issues_for_formula(formula_name) 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 rescue RuntimeError, SystemCallError => e onoe e