From aa5a5a526f4b847df2ad9d12dcd7569e526dff32 Mon Sep 17 00:00:00 2001 From: Jack Nagel Date: Thu, 1 May 2014 18:36:46 -0500 Subject: Rename Xcode.folder to MacOS.active_developer_dir This reflects what Apple calls it in more recent versions of Xcode/OS X. --- Library/brew.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Library/brew.rb') diff --git a/Library/brew.rb b/Library/brew.rb index 592719340..ae9b37d6b 100755 --- a/Library/brew.rb +++ b/Library/brew.rb @@ -34,7 +34,7 @@ end # Check for bad xcode-select before anything else, because `doctor` and # many other things will hang # Note that this bug was fixed in 10.9 -if OS.mac? && MacOS.version < :mavericks && MacOS::Xcode.folder == "/" +if OS.mac? && MacOS.version < :mavericks && MacOS.active_developer_dir == "/" odie <<-EOS.undent Your xcode-select path is currently set to '/'. This causes the `xcrun` tool to hang, and can render Homebrew unusable. -- cgit v1.2.3