Permalink
Browse files

fixing load error messages

  • Loading branch information...
tenderlove committed Jan 24, 2013
1 parent 3b75781 commit 3dc0cd373bcc84f9a5c0c43fdd57735c5d29bc90
Showing with 1 addition and 0 deletions.
  1. +1 −0 activesupport/lib/active_support/core_ext/load_error.rb
@@ -18,6 +18,7 @@ def self.from_message(message)
end
REGEXPS = [
+ [/^cannot load such file -- (.+)$/i, 1],
[/^no such file to load -- (.+)$/i, 1],
[/^Missing \w+ (file\s*)?([^\s]+.rb)$/i, 2],
[/^Missing API definition file in (.+)$/i, 1]

0 comments on commit 3dc0cd3

Please sign in to comment.