aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/versions.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/versions.rb b/Library/Homebrew/cmd/versions.rb
index 101addb04..7a4c5cdf4 100644
--- a/Library/Homebrew/cmd/versions.rb
+++ b/Library/Homebrew/cmd/versions.rb
@@ -69,7 +69,7 @@ class Formula
version = nostdout { Formula.factory(path).version }
Object.send(:remove_const, Formula.class_s(name))
version
- rescue SyntaxError, TypeError
+ rescue SyntaxError, TypeError, NameError, ArgumentError
# We rescue these so that we can skip bad versions and
# continue walking the history
nil