Improve CLI tools suggestion doctor text

This commit is contained in:
Max Howell 2012-03-16 01:03:00 +00:00
parent c1545fe56a
commit a42714ce82

View File

@ -230,13 +230,12 @@ def check_for_latest_xcode
end
def check_cc
unless File.exist? '/usr/bin/cc'
<<-EOS.undent
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://connect.apple.com/
or install them from inside Xcode's preferences. Homebrew does not require
all of Xcode! You only need the CLI tools package!
unless File.exist? '/usr/bin/cc' then <<-EOS.undent
You have no /usr/bin/cc.
This means you probably can't build *anything*. You need to install the Command
Line Tools for Xcode. You can either download this from http://connect.apple.com
or install them from inside Xcode's Download preferences. Homebrew does not
require all of Xcode! You only need the Command Line Tools package!
EOS
end
end