Thursday, May 07, 2015

MOPED: Could not resolve IP for: xyz:27017 runtime: n/a

       Could not connect to a primary node for replica set #]>

     Moped::Errors::ConnectionFailure:

The following error can happen if the xyz is not localhost. If you are running the mongo on localhost on your machine, change the mongoid.yml file to point to localhost. This will fix the problem.