TonyGen / mongodb-erlang

Fork of MongoDB driver for Erlang. mongodb now holds the master repository for this driver.
65 stars 16 forks source link

Got some problems with rebar #9

Open eox425 opened 13 years ago

eox425 commented 13 years ago

Wanted to add mongodb-erlang to rebar.config somelike this: {mongodb-erlang, ".", {git, "https://github.com/TonyGen/mongodb-erlang.git", "master"}}, It throws exception about the - character... so I've tried: {mongodb, ".", {git, "https://github.com/TonyGen/mongodb-erlang.git", "master"}}, Then it stubs me with regexp error: ERROR: Dependency dir erlstl/deps/mongodb does not satisfy version regex .*. I am in despair... What should I do? I think, You should add this rebar stuff to install guide in readme.

TonyGen commented 13 years ago

Sorry, I don't know about rebar, I just include a pull request from https://github.com/russelldb that included it. Please, contact him about this problem.

seansawyer commented 13 years ago

@eox425 the deps tuple you are looking for is as follows:

{'mongodb',    ".*",    {git, "git://github.com/TonyGen/mongodb-erlang.git", "master"}}