thoughtbot/capybara-webkit — pull request #305 by dbloete (2012-03-27 19:03:53+00:00)
Title: discover_server_port with timeout

Fallback to multiple tries to discover the server port in case starting of webkit_server takes longer than expected. For me, the pipe got the server output just a second after discover_server_port ran, so that the port could not be looked up.