charliehq/moped — pull request #1 by davebrace (2014-02-19 23:42:43+00:00)
Title: Handle Errno::ENETUNREACH socket errors

When one of our replica set nodes went down, the exception that was being raised was a Errno::ENETUNREACH socket error. This error is not handled in moped currently, causing Mongoid not to recognize that a node was down. Therefore, handle this exception.