Support Xcode 4.3 xcode-select being wrong
I installed Xcode 4.3 and xcode-select is wrong, so this will fix it for most users.
This commit is contained in:
parent
b63584a386
commit
4fa82d9e1f
@ -290,6 +290,9 @@ module MacOS extend self
|
|||||||
# we do this to support cowboys who insist on installing
|
# we do this to support cowboys who insist on installing
|
||||||
# only a subset of Xcode
|
# only a subset of Xcode
|
||||||
Pathname.new '/Developer'
|
Pathname.new '/Developer'
|
||||||
|
elsif File.directory? '/Applications/Xcode.app/Contents/Developer'
|
||||||
|
# fallback for broken Xcode 4.3 installs
|
||||||
|
Pathname.new '/Applications/Xcode.app/Contents/Developer'
|
||||||
else
|
else
|
||||||
nil
|
nil
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user