bcg / em-mongo

EventMachine MongoDB Driver (based off of RMongo)
http://github.com/bcg/em-mongo
141 stars 47 forks source link

Example not working? #57

Closed georgeu2000 closed 6 years ago

georgeu2000 commented 6 years ago

I ran the example and it does not seem to work on Ruby 2.5.1 and MongoDB 3.6.2.

Is there any documentation on how to make it work?

georgeu2000 commented 6 years ago

On my Mac (10.13.4) have to do EM::Mongo::Connection.new('0.0.0.0'). localhost does not work.

dCSeven commented 6 years ago

I'm sorry that I'm writing that late, but this month is test month at the university, so I don't have a lot of free time for anything.

Unfortunately the example is not really tested by me. If it isn't working I'll change it when I've got more time (anyways I should at least document it). The rest of the project is working fine though, so if you read the documentation I think everything should be clear (ask if it isn't).

georgeu2000 commented 6 years ago

Sorry, I wasn't clear. The example is working.

The issue that I have is that Mongo cannot connect to localhost on my Mac.