Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Temporary fix to get our LoadError monkey-patch working with newer JR…

…uby. We should probably remove MissingSourceFile and just monkey-patch LoadError instead of overriding LoadError.new.
  • Loading branch information...
commit b05c95190737eb39047a756e37d811b340a47ba2 1 parent e58b276
@wycats wycats authored
Showing with 2 additions and 1 deletion.
  1. +2 −1  activesupport/lib/active_support/core_ext/load_error.rb
View
3  activesupport/lib/active_support/core_ext/load_error.rb
@@ -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
Please sign in to comment.
Something went wrong with that request. Please try again.