FormulaInstaller: raise if pouring bottle failed and no Xcode/CLT installed
This commit is contained in:
parent
be45e6a0c5
commit
5045fc95bf
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user