Travis has updated its Rubinius, and Rubinius has a gem for the standard library
Check for errors after streaming results, the connection might have gone away due to read timeout.
Spec for exception if streaming ended due to a timeout