aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Library/Homebrew/formulary.rb6
1 files changed, 1 insertions, 5 deletions
diff --git a/Library/Homebrew/formulary.rb b/Library/Homebrew/formulary.rb
index 2af67644f..37ca80b90 100644
--- a/Library/Homebrew/formulary.rb
+++ b/Library/Homebrew/formulary.rb
@@ -74,11 +74,7 @@ class Formulary
STDERR.puts "#{$0} (#{self.class.name}): loading #{path}" if ARGV.debug?
begin
require(path)
- rescue NoMethodError
- # This is a programming error in an existing formula, and should not
- # have a "no such formula" message.
- raise
- rescue LoadError, NameError => e
+ rescue LoadError => e
raise FormulaUnavailableError, name, e.backtrace
end
end