Using ruby 1.9.3-p194 and ruby 1.8.7p370 to run the gem tests fails at the same test:
Errno::EACCES: Permission denied - setsockopt
I running rake 0.9.2.2 on a Gentoo Linux box.
Run the test as root. Maybe normal users don't have permission for setting socket options.
If you think this is useful, I can send a push request to skip this test.
These tests pass for me on a Debian machine without root.
SO_DEBUG requires "CAP_NET_ADMIN capability or an effective user ID o…
…f 0" (fixes #377)
This fix the issue. Thank you!