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
rebarbut is that some app in release tool search path contains themustache.erlfile as you release does. Usuallyrel.configfile 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.