Skip to content

Instantly share code, notes, and snippets.

@jgouly
Created March 22, 2011 23:58
Show Gist options
  • Save jgouly/882361 to your computer and use it in GitHub Desktop.
Save jgouly/882361 to your computer and use it in GitHub Desktop.
[jey@tigger rubinius]$ bin/rbx compile -Pe "a = 1 ? 1 : 2"
An exception occurred running compile
undefined method `new' on true:TrueClass. (NoMethodError)
Backtrace:
Kernel(TrueClass)#new (method_missing) at kernel/delta/kernel.rb:85
Rubinius::Compiler::Parser(Rubinius::Compiler::StringParser)#print at \
lib/compiler/stages.rbc:174
CompilerScript#set_printers at lib/bin/compile.rb:129
CompilerScript#compile_string at lib/bin/compile.rb:212
{ } in CompilerScript#compile_strings at lib/bin/compile.rb:219
Array#each at kernel/bootstrap/array.rb:76
CompilerScript#compile_strings at lib/bin/compile.rb:218
CompilerScript#main at lib/bin/compile.rb:230
main.__script__ at lib/bin/compile.rb:235
Rubinius::CodeLoader#load_script at kernel/delta/codeloader.rb:67
Rubinius::CodeLoader.load_script at kernel/delta/codeloader.rb:91
Rubinius::Loader#script at kernel/loader.rb:583
Rubinius::Loader#main at kernel/loader.rb:713
Rubinius::Loader.main at kernel/loader.rb:752
Object#__script__ at kernel/loader.rb:763
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment