I am having a similar problem as here for running an rebar app
Basically, I want to run the demo code from: https://github.com/hukl/fancyapi
When I am in the root directory, and I do:
→ erl [...] -pa ebin -pa deps/*/ebin Erlang R15B02 (erts-5.9.2) [source] [64-bit] [smp:8:8] [async-threads:0] [hipe] [kernel-poll:false] [dtrace] Eshell V5.9.2 (abort with ^G) 1> application 1> . application 2> application:start(fancyapi). {error,{"no such file or directory","fancyapi.app"}} 3> application:start("fancyapi"). {error,{bad_application,"fancyapi"}} 4>
How would ERL find the fancyapi code?
rebar compile
? And did it produce afancyapi.app
file in theebin
directory? – legoscia