提交 b05c9519 编写于 作者: Y Yehuda Katz

Temporary fix to get our LoadError monkey-patch working with newer JRuby. We...

Temporary fix to get our LoadError monkey-patch working with newer JRuby. We should probably remove MissingSourceFile and just monkey-patch LoadError instead of overriding LoadError.new.
上级 e58b2769
......@@ -20,7 +20,8 @@ def self.from_message(message)
REGEXPS = [
[/^no such file to load -- (.+)$/i, 1],
[/^Missing \w+ (file\s*)?([^\s]+.rb)$/i, 2],
[/^Missing API definition file in (.+)$/i, 1]
[/^Missing API definition file in (.+)$/i, 1],
[/win32/, 0]
] unless defined?(REGEXPS)
end
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册