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
commit324ea3e4814ce02c76c6e87064084e03141cfb17 (patch)
tree9d3309352ea0adcdf6a3293412ec13e2bcb2f22f /Library
parent5c3c728c47599968e1d6a4167c046ea5f608df25 (diff)
downloadbrew-324ea3e4814ce02c76c6e87064084e03141cfb17.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