aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/cmd/doctor.rb12
1 files changed, 2 insertions, 10 deletions
diff --git a/Library/Homebrew/cmd/doctor.rb b/Library/Homebrew/cmd/doctor.rb
index 2701a1695..743cd5a9c 100644
--- a/Library/Homebrew/cmd/doctor.rb
+++ b/Library/Homebrew/cmd/doctor.rb
@@ -247,19 +247,11 @@ if MacOS.version >= "10.9"
def check_xcode_up_to_date
if MacOS::Xcode.installed? && MacOS::Xcode.outdated?
- s = <<-EOS.undent
+ <<-EOS.undent
Your Xcode (#{MacOS::Xcode.version}) is outdated
Please update to Xcode #{MacOS::Xcode.latest_version}.
+ Xcode can be updated from the App Store.
EOS
- if MacOS.version == :yosemite && MacOS::Xcode.latest_version == "6.1"
- s += <<-EOS.undent
- Xcode 6.1 is required on Yosemite to compile anything (6.0.1 does not include
- the 10.10 SDK). You can install it from the App Store.
- EOS
- else
- s += "Xcode can be updated from the App Store."
- end
- s
end
end