I followed the OTP tutorial here: http://elixir-lang.org/getting_started/mix/2.html
Near the end we add the application registration in mix.exs as well as the start code to the stacker.ex file. Everything works, but not quite the way the tutorial says. The tutorial says that if we restart iex with "iex -S mix" then it will automatically start the (:stacker) application. I haven't found this to be the case, I've had to manually :application.start(:stacker) . Is it really supposed to start the application as described? My code is exactly what the tutorial lays out, I even went through it a second time in a clean directory.
--
You received this message because you are subscribed to the Google Groups "elixir-lang-core" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elixir-lang-co...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
I also having issues with the tutorial. I am, however, not getting as far as above.When I get to the point of starting the link to Stacker.Server, I receive the following error.○ → iex -S mixErlang R15B03 (erts-5.9.3.1) [source] [64-bit] [smp:4:4] [async-threads:0] [hipe] [kernel-poll:false] [dtrace]Interactive Elixir (0.8.2) - press Ctrl+C to exit (type h() ENTER for help)iex(1)> { :ok, pid } = :gen_server.start_link(Stacker.Server, [], [])** (MatchError) no match of right hand side value: {:error,{:undef,[{Stacker.Server,:init,[[]],[]},{:gen_server,:init_it,6,[file: 'gen_server.erl', line: 304]},{:proc_lib,:init_p_do_apply,3,[file: 'proc_lib.erl', line: 227]}]}}:erl_eval.expr/3iex(1)>Has something change with mix that needs to update the tutorial? Or is there something wrong with the gen_server include to the module?Regards, JT