diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb index d5a0baeba6..46bd825e2a 100644 --- a/Library/Homebrew/formulary.rb +++ b/Library/Homebrew/formulary.rb @@ -24,7 +24,7 @@ module Formulary const_set(namespace, mod) begin mod.module_eval(contents, path) - rescue ScriptError => e + rescue ArgumentError, ScriptError => e raise FormulaUnreadableError.new(name, e) end class_name = class_s(name)