aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-10-21 14:56:32 +0100
committerMike McQuaid2014-10-21 14:56:32 +0100
commitcc3437265fc7f63bb331eec0764a89ff866fa3f1 (patch)
treed65955f3d17e00cf32231e231a871f76efce5fc2 /Library
parentbf434e2f7d18ba7d77ac15d54a43c555bc4019c8 (diff)
downloadhomebrew-cc3437265fc7f63bb331eec0764a89ff866fa3f1.tar.bz2
doctor: Xcode 6.1 is in the App Store.
Diffstat (limited to 'Library')
-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