xstaz
2014-Jul-23 17:05 UTC
heroku push Mongo::ConnectionFailure: Failed to connect to a master node at 127.0.0.1:27017
Hi.my problem is Mongo::ConnectionFailure: Failed to connect to a master node at 127.0.0.1:27017 when im pushing on heroku im using mongomapper defaults: &defaults host: 127.0.0.1 port: 27017 options: w: 1 pool_size: 1 slave_ok: false ssl: false development: <<: *defaults database: devname test: <<: *defaults database: testname w: 0 production: <<: *defaults database: devname MongoMapper.connection = Mongo::Connection.new('localhost', 27017) MongoMapper.database = "appname-#{Rails.env}" -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/26631240-25d3-4c1a-a9a3-2b2dc56daa30%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.