Skip to content

Instantly share code, notes, and snippets.

@miloshadzic
Created January 22, 2011 00:14
Show Gist options
  • Save miloshadzic/790688 to your computer and use it in GitHub Desktop.
Save miloshadzic/790688 to your computer and use it in GitHub Desktop.
$ bin/rbx -e 'p Socket.getaddrinfo("127.0.0.1", nil)[0][2]'
An exception occurred evaluating command line code
Missing or uninitialized constant: Object::Socket (NameError)
Backtrace:
Module(Class)#const_missing at kernel/common/module.rb:533
{ } in Object#__script__ at -e:1
Kernel(Rubinius::Loader)#eval at kernel/common/eval.rb:115
Rubinius::Loader#evals at kernel/loader.rb:517
Rubinius::Loader#main at kernel/loader.rb:649
Rubinius::Loader.main at kernel/loader.rb:689
Object#__script__ at kernel/loader.rb:700
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment