I ran across this problem once based on some other software on my machine blocking JRuby from running these tests. I found out that McAfee Host Intrusion Prevention seemed to be dropping connection to Selenium when I used JRuby but not regular Ruby.
To check if the service is running, as a system admin go to Control Panel -> Administrative Tools -> Services and see if McAfee Host Intrusion Prevention is listed as Started.
If it is, run net stop "McAfee Host Intrusion Prevention Service" in a command prompt window as an admin. After that completes run a test and the test should complete.