Closed sebastiencv closed 10 years ago
I have got the following error message using elixir-mongo :
** (FunctionClauseError) no function clause matching in :inet.tcp_controlling_process/2 stacktrace: (kernel) inet.erl:1485: :inet.tcp_controlling_process(#Port<0.38160>, nil) lib/socket/tcp.ex:136: Socket.TCP.connect/3 lib/socket/tcp.ex:120: Socket.TCP.connect!/2
The reason was that I did not included :socket in in the applications to start in the project mix.exs file.
Maybe that could be checked by Mongo.mongo or Mongo.connect
You need to add :mongo as a dependency in your mix file
:mongo
mix
def application do [applications: [:mongo]] end
I have got the following error message using elixir-mongo :
The reason was that I did not included :socket in in the applications to start in the project mix.exs file.
Maybe that could be checked by Mongo.mongo or Mongo.connect