<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hello all,</div><div>I'm now following a Erlang rebar tutorial at <a href="http://www.metabrew.com/article/erlang-rebar-tutorial-generating-releases-upgrades" _src="http://www.metabrew.com/article/erlang-rebar-tutorial-generating-releases-upgrades">http://www.metabrew.com/article/erlang-rebar-tutorial-generating-releases-upgrades</a>, the test application can be started inside the erlang shell, like</div><div><span style="color: rgb(0, 0, 255);">$ erl -pa apps/ebin/ -boot start_sasl</span></div><div><div><span style="color: rgb(0, 0, 255);">1> application:start(dummy_proj). </span></div><div><span style="color: rgb(0, 0, 255);">=PROGRESS REPORT==== 21-Oct-2014::21:16:13 ===</span></div><div><span style="color: rgb(0, 0, 255);">         application: dummy_proj</span></div><div><span style="color: rgb(0, 0, 255);">          started_at: nonode@nohost</span></div><div><span style="color: rgb(0, 0, 255);">ok</span></div><div><span style="color: rgb(0, 0, 255);">2> dummy_proj_server:poke().</span></div><div><span style="color: rgb(0, 0, 255);">{ok,1}</span></div></div><div>but it can not be started this way</div><div><div><span style="color: rgb(0, 0, 255);">$ erl -pa apps/ebin/ -boot start_sasl -</span><span style="color: rgb(255, 0, 0);">s dummy_proj</span></div><div><span style="color: rgb(0, 0, 255);">Erlang R16B03 (erts-5.10.4) [source] [smp:4:4] [async-threads:10] [kernel-poll:false]</span></div><div><span style="color: rgb(0, 0, 255);">.... <skip> .....</span></div><div><span style="color: rgb(0, 0, 255);">=PROGRESS REPORT==== 21-Oct-2014::21:17:23 ===</span></div><div><span style="color: rgb(0, 0, 255);">         application: sasl</span></div><div><span style="color: rgb(0, 0, 255);">          started_at: nonode@nohost</span></div><div><span style="color: rgb(255, 0, 0);">{"init terminating in do_boot",{undef,[{dummy_proj,start,[],[]},{init,start_it,1,[]},{init,start_em,1,[]}]}}</span></div><div><div><span style="color: rgb(0, 0, 255);">Crash dump was written to: erl_crash.dump</span></div><div><span style="color: rgb(0, 0, 255);">init terminating in do_boot ()</span></div></div></div><div><br></div><div><span style="color: rgb(0, 0, 0);">It seems Erlang is trying to call </span><span style="color: rgb(0, 0, 255);">dummy_proj:start()</span><span style="color: rgb(0, 0, 0);">, but I can not understand why.</span></div><div><span style="color: rgb(0, 0, 0);">Anybody who ever encountered the same problem here? How can I make it work?</span></div><div><br></div><div><font color="#0000ff"><span style="color: rgb(0, 0, 0);">Thanks.</span></font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"><span style="color: rgb(0, 0, 0);">Best wishes</span></font></div><div><font color="#0000ff"><br></font></div><div><font color="#0000ff"><span style="color: rgb(0, 0, 0);">zhangguofu(Gary)</span></font></div><div><br></div><div><br></div></div><br><br><span title="neteasefooter"><span id="netease_mail_footer"></span></span>