Created
August 3, 2010 05:43
-
-
Save hiremaga/505902 to your computer and use it in GitHub Desktop.
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
| $ ruby -rubygems -e 'require "active_support"; class Foo; class Bar; end; class Baz; end; end; Foo::Bar::Baz' | |
| /.../gems/activesupport-2.3.8/lib/active_support/dependencies.rb:417:in `load_missing_constant': Foo is not missing constant Baz! (ArgumentError) | |
| from /.../gems/activesupport-2.3.8/lib/active_support/dependencies.rb:96:in `const_missing' | |
| from /.../gems/activesupport-2.3.8/lib/active_support/dependencies.rb:98:in `send' | |
| from /.../gems/activesupport-2.3.8/lib/active_support/dependencies.rb:98:in `const_missing' | |
| from -e:1 |
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
| $ ruby -rubygems -e 'class Foo; class Bar; end; class Baz; end; end; Foo::Bar::Baz' | |
| -e:1: uninitialized constant Foo::Bar::Baz (NameError) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment