aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorMax Howell2012-02-18 01:52:35 +0000
committerMax Howell2012-02-18 01:53:54 +0000
commit1e9a4dbfe49b666d6441507d90948e8030594b8a (patch)
treea9d3168755a5487e896ca4086a522e58d21091e6 /Library/Homebrew/cmd
parent607c13c32bcae86708101edeed32b7c0478fd5ea (diff)
downloadbrew-1e9a4dbfe49b666d6441507d90948e8030594b8a.tar.bz2
`brew doctor` whines at people to install CLI Tools for Xcode
Refs Homebrew/homebrew#10290.
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/doctor.rb7
1 files changed, 5 insertions, 2 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 209260edd..d43c2e9e4 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -220,8 +220,11 @@ def check_gcc_versions
unless File.exist? '/usr/bin/cc'
puts <<-EOS.undent
- You have no /usr/bin/cc. This will cause numerous build issues. Please
- reinstall Xcode.
+ You have no /usr/bin/cc.
+ This means you probably can't build *anything*. You need to install the CLI
+ Tools for Xcode. You can either download this from http://download.apple.com
+ or install them from inside Xcode’s preferences. Homebrew does not require
+ all of Xcode! You only need the CLI tools package!
EOS
end
end