From ea03719a340d4e7ea365e0defa7c250059db4329 Mon Sep 17 00:00:00 2001 From: Adam Vandenberg Date: Fri, 1 Feb 2013 09:25:47 -0800 Subject: [PATCH] Formula is not a formula. Closes Homebrew/homebrew#17492. --- Library/Homebrew/formula.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 8c68ad568b..82410d3e84 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -444,6 +444,7 @@ class Formula end raise NameError if !klass.ancestors.include? Formula + raise NameError if klass == Formula return klass.new(name) if install_type == :from_name return klass.new(name, path.to_s)