FIX only claim that Formula doesn't exist if it was a loaderror

This commit is contained in:
Max Howell committed 2009-07-31 14:03:22 +01:00
1 parent 96e454435e
commit 6bc29cbb65
1 file changed
+1 -1
+1 -1
View File
@@ -245,7 +245,7 @@ class Formula <UnidentifiedFormula
def self.create name
require Formula.path(name)
return eval(Formula.class(name)).new(name)
rescue
rescue LoadError
raise "No formula for #{name}"
end
end