Search code examples
windowsgiterlangrebar

Rebar get-deps does not play well with msysgit 1.7.4 on Windows


Has anyone been successful with using rebar get-deps on Windows? Mine fails and complains about version numbers.

If you have been successful, which git did you use?


Solution

  • Rebar get-deps works on Windows. But:

    1. bash.exe must not be in the PATH, so don't choose this option when install msysgit. Rebar thinks that cygwin is here but it is not :(
    2. Rename git.cmd to git.bat in C:\Program Files (x86)\Git\cmd\. It is ugly hack but it seems that erl.exe can execute only exe and bat files not cmd