Skip to content

Instantly share code, notes, and snippets.

@mikbe
Created June 7, 2011 17:57
Show Gist options
  • Save mikbe/1012758 to your computer and use it in GitHub Desktop.
Save mikbe/1012758 to your computer and use it in GitHub Desktop.
spec/ruby/library/socket/tcpsocket/open_spec.rb
bin/mspec spec/ruby/library/socket/tcpsocket/open_spec.rb
rubinius 1.2.4dev (1.8.7 90126691 yyyy-mm-dd JI) [x86_64-apple-darwin10.7.0]
....E.
1)
TCPSocket.open with a running server connects to a server when passed local_host and local_port arguments ERROR
Errno::EAFNOSUPPORT: Address family not supported by protocol family - bind(2)
Errno.handle at kernel/common/errno.rb:16
TCPSocket#tcp_setup at lib/socket.rb:1085
TCPSocket#initialize at lib/socket.rb:1013
Class#new at kernel/alpha.rb:94
IO.open at kernel/common/io.rb:249
{ } in Object#__script__ at spec/ruby/library/socket/tcpsocket/shared
/new.rb:46
Kernel(Object)#instance_eval at kernel/common/eval.rb:120
{ } in Enumerable(Array)#all? at kernel/common/enumerable.rb:232
Array#each at kernel/bootstrap/array.rb:76
Enumerable(Array)#all? at kernel/common/enumerable.rb:232
Array#each at kernel/bootstrap/array.rb:76
Array#each at kernel/bootstrap/array.rb:76
Object#__script__ at spec/ruby/library/socket
/tcpsocket/open_spec.rb:3
Kernel.load at kernel/common/kernel.rb:732
Kernel(Object)#instance_eval at kernel/common/eval.rb:120
Array#each at kernel/bootstrap/array.rb:76
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:617
Rubinius::Loader#main at kernel/loader.rb:752
Finished in 0.028106 seconds
1 file, 6 examples, 9 expectations, 0 failures, 1 error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment