Created
March 10, 2011 17:37
-
-
Save arunk/864526 to your computer and use it in GitHub Desktop.
Line 2503 is rake_original_const_missing(const_name) at the bottom last else.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| ['--execute-print', '-p CODE', "Execute some Ruby code, print the result, then exit.", | |
| lambda { |value| | |
| puts eval(value) ##Line 2223 - previous call in stack trace. | |
| exit | |
| } | |
| ], |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| def const_missing(const_name) | |
| case const_name | |
| when :Task | |
| Rake.application.const_warning(const_name) | |
| Rake::Task | |
| when :FileTask | |
| Rake.application.const_warning(const_name) | |
| Rake::FileTask | |
| when :FileCreationTask | |
| Rake.application.const_warning(const_name) | |
| Rake::FileCreationTask | |
| when :RakeApp | |
| Rake.application.const_warning(const_name) | |
| Rake::Application | |
| else | |
| rake_original_const_missing(const_name) ##Line 2503 - error is here | |
| end | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment