I use wooga's fork of mustache.erl (https://github.com/wooga/mustache.erl) in my project. And when I try to create release I get an error because rebar uses this mustache.beam file instead of a file included in its source. What should I do to resolve this conflict?
The reason is not in
rebar
but is that some app in release tool search path contains themustache.erl
file as you release does. Usuallyrel.config
file contains{lib_dirs, ["../.."]}
that force release tool search libs (apps) up your release directory. See example below. To fix it, move your release directory dipper (for example -> you_release/you_release) or move app that contains the same file (mustache.erl) to other place.