Skip to content

Instantly share code, notes, and snippets.

View rakaur's full-sized avatar

Eric Will rakaur

View GitHub Profile
$ ruby -rubygems -e 'p $:'
["/home/rakaur/.rvm/rubies/rbx-head/site", "/home/rakaur/.rvm/rubies/rbx-head/site/x86_64-linux-gnu", "/home/rakaur/.rvm/rubies/rbx-head/vendor", "/home/rakaur/.rvm/rubies/rbx-head/vendor/x86_64-linux-gnu", "/home/rakaur/.rvm/rubies/rbx-head/lib", "."]
$ rvm info
rbx-head@irc:
system:
uname: "Linux callandor 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:32:27 UTC 2010 x86_64 GNU/Linux"
rhuarc:rhubot rakaur$ ruby -v
ruby 1.9.2p180 (2011-02-18 revision 30909) [x86_64-darwin10.6.0]
rhuarc:rhubot rakaur$ ruby -rsocket -e 'p TCPSocket.new("localhost", 22)'
#<TCPSocket:fd 3>
rhuarc:rhubot rakaur$ ruby -rsocket -e 'p TCPSocket.new("localhost", 22, "localhost")'
#<TCPSocket:fd 3>
rhuarc:rhubot rakaur$ ruby -rsocket -e 'p TCPSocket.new("localhost", 22, "127.0.0.1")'
#<TCPSocket:fd 3>
rhuarc:rhubot rakaur$ ruby -rsocket -e 'p TCPSocket.new("localhost", 22, "127.0.0.0")'
-e:1:in `initialize': Can't assign requested address - bind(2) (Errno::EADDRNOTAVAIL)
An exception occurred running /Users/rakaur/.rvm/gems/rbx-head@padrino/bin/padrino
Coercion error: nil.to_str => String failed (TypeError)
Backtrace:
Rubinius::Type.coerce_to at kernel/common/type.rb:23
Kernel(Rubinius::CodeLoader)#StringValue at kernel/common/kernel.rb:116
Rubinius::CodeLoader#initialize at kernel/common/codeloader.rb:22
Rubinius::CodeLoader.require at kernel/common/codeloader.rb:138
Kernel(Module)#require at kernel/common/kernel.rb:783
mri:
ERROR - [19/Apr/2011 14:36:18] "about to require "/Users/rakaur/Dropbox/Sources/work/padrino/main/config/database.rb""
ERROR - [19/Apr/2011 14:36:19] "about to require "/Users/rakaur/Dropbox/Sources/work/padrino/main/shared/models/user.rb""
....
ERROR - [19/Apr/2011 14:36:22] "about to require "/Users/rakaur/Dropbox/Sources/work/padrino/main/config/apps.rb""