安装 ruby-china 时,执行ruby setup.rb
,在运行到 rake db:seed 时出现错误:
Could not connect to any secondary or primary nodes for replica set <Moped::Cluster nodes=[<Moped::Node resolved_address="127.0.0.1:27017">]>
搜了下似乎是 mongodb 的问题,使用的是 mongodb-2.2.0-r1 ,ruby-1.9.3p194, rails 3.2.9
系统是 gentoo