localhost:ruby-china admin$ ./bin/setup
MongoDB 2.0+ [Yes] Redis 2.0+ [Yes] Memcached 1.4+ [Yes]
Your MongoDB host (default: 127.0.0.1:27017):
Seed default data...rake aborted! Moped::Errors::ConnectionFailure: Could not connect to a primary node for replica set #]>
各种搜都没有解决,谢谢了。