Update Xcode checks and URLs
This commit is contained in:
parent
a7ac3c539d
commit
6345ceef1f
@ -126,9 +126,9 @@ end
|
|||||||
warn "/usr/local/bin is not in your PATH." unless ENV['PATH'].split(':').include? '/usr/local/bin'
|
warn "/usr/local/bin is not in your PATH." unless ENV['PATH'].split(':').include? '/usr/local/bin'
|
||||||
|
|
||||||
if macos_version < 10.7
|
if macos_version < 10.7
|
||||||
warn "Now install Xcode: http://developer.apple.com/technologies/xcode.html" unless Kernel.system "/usr/bin/which -s gcc"
|
warn "Now install Xcode: https://developer.apple.com/xcode/" unless File.exist? "/usr/bin/cc"
|
||||||
else
|
else
|
||||||
warn "Install \"Command Line Tools for Xcode\": http://developer.apple.com/downloads" unless File.file? "/usr/bin/xcrun"
|
warn "Now install the \"Command Line Tools for Xcode\": http://connect.apple.com" unless File.file? "/usr/bin/xcrun"
|
||||||
end
|
end
|
||||||
|
|
||||||
ohai "Installation successful!"
|
ohai "Installation successful!"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user