From: "naruse (Yui NARUSE)" Date: 2012-07-19T01:50:04+09:00 Subject: [ruby-dev:45974] [ruby-trunk - Bug #6746] test_bind_to_local_host(TestNetHTTPLocalBind) fails. Issue #6746 has been updated by naruse (Yui NARUSE). serverを::1にしてクライアントを::1以外にすると経路がないから通信できないんですが、 両方::1にすればいいだけの話でした。 ちょっとひっかかりはするんですが。 ---------------------------------------- Bug #6746: test_bind_to_local_host(TestNetHTTPLocalBind) fails. https://bugs.ruby-lang.org/issues/6746#change-28199 Author: shyouhei (Shyouhei Urabe) Status: Closed Priority: Normal Assignee: shyouhei (Shyouhei Urabe) Category: test Target version: 2.0.0 ruby -v: ruby 2.0.0dev (2012-07-17) [x86_64-linux] 手元の環境でtest_bind_to_local_host(TestNetHTTPLocalBind)が失敗しています。 55) Error: test_bind_to_local_host(TestNetHTTPLocalBind): NoMethodError: undefined method `ip_address' for nil:NilClass /src/test/net/http/test_http.rb:660:in `_select_local_ip_address' /src/test/net/http/test_http.rb:635:in `test_bind_to_local_host' 11283 tests, 2263492 assertions, 3 failures, 13 errors, 67 skips お察しのように、この環境にはIPv4アドレスがありません。ですがそのような理由でErrorが増えるのは不本意です。 ちょっとテストの意図が分かりかねるため、こちらでの修正がためらわれるのですが、これは何のテストなのでしょうか? -- http://bugs.ruby-lang.org/