From 5045fc95bf91bbd0bf6d5b7612a9e664bdf80f6c Mon Sep 17 00:00:00 2001 From: Xu Cheng Date: Fri, 25 Sep 2015 17:52:45 +0800 Subject: [PATCH] FormulaInstaller: raise if pouring bottle failed and no Xcode/CLT installed --- Library/Homebrew/formula_installer.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/formula_installer.rb b/Library/Homebrew/formula_installer.rb index 62637d2ee2..caf4a7475f 100644 --- a/Library/Homebrew/formula_installer.rb +++ b/Library/Homebrew/formula_installer.rb @@ -190,6 +190,7 @@ class FormulaInstaller @pour_failed = true onoe e.message opoo "Bottle installation failed: building from source." + raise BuildToolsError.new([formula]) unless MacOS.has_apple_developer_tools? else @poured_bottle = true end