Created
May 1, 2011 23:48
-
-
Save Nemo157/950998 to your computer and use it in GitHub Desktop.
Rubinius error
This file contains 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 -d -W2 --vv test.rb | |
rubinius 1.2.4dev (1.8.7 77994afa yyyy-mm-dd) [x86_64-apple-darwin10.7.0] | |
Options: | |
Interpreter type: static | |
JIT disabled | |
An exception occurred running test.rb | |
Tried to use object of type PackedObject (45) as type LookupTable (35) (TypeError) | |
Backtrace: | |
{ } in Builder(Class)#initialize at test.rb:5 | |
Module(Class)#module_eval at kernel/common/eval.rb:199 | |
Module(Class)#initialize at kernel/common/module.rb:33 | |
Class#initialize at kernel/common/class.rb:58 | |
Class#new at kernel/alpha.rb:94 | |
Builder#initialize at test.rb:5 | |
Object#__script__ at test.rb:9 | |
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:65 | |
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:90 | |
Rubinius::Loader#script at kernel/loader.rb:580 | |
Rubinius::Loader#main at kernel/loader.rb:715 |
This file contains 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
class Builder | |
def initialize | |
@constants = {} | |
constants = @constants | |
Class.new(Object) { @constants = constants } | |
end | |
end | |
Builder.new |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment