Hi all, I realize this is a very old thread, but I've been trying to enable 
Elixir support and the problem persists. The odd thing is that only by 
pointing boss to the standalone folder (instead of deps/boss) is Elixir 
able to function normally.

I even ran the same staps provided in README_ELIXIR.md inside deps/boss, 
but no dice.

Any idea as to what might be going on?

El martes, 6 de agosto de 2013, 9:58:57 (UTC-4:30), Evan Miller escribió:
>
> Thanks for the reports and fixes, all. The Elixir installation 
> procedure is still under construction, but I'll get Eric's changed 
> merged in so it works in the meantime. 
>
> On Fri, Aug 2, 2013 at 2:28 PM, Eric Cestari <[email protected] 
> <javascript:>> wrote: 
> > There is indeed a bug with Elixir using the self contained version. 
> > I haven't been able to track it down yet. 
> > 
> > I have issued a pull request to correct the default template : 
> > https://github.com/evanmiller/ChicagoBoss/pull/306 
> > Best, 
> > Eric 
> > Le 2 août 2013 à 20:19, Duarte Ferreira <[email protected] 
> <javascript:>> a 
> > écrit : 
> > 
> > Thanks, that seems to fix the error on starting the server. 
> > 
> > I thought ChicagoBoss was on /deps/boss and a project was self 
> contained. 
> > 
> > Is this a limitation of running with Elixir or is there a way to make it 
> be 
> > self contained? 
> > 
> > Best, 
> > 
> > Duarte Ferreira 
> > 
> > Sexta-feira, 2 de Agosto de 2013 17:48:35 UTC+1, Eric Cestari escreveu: 
> >> 
> >> Duarte, 
> >> 
> >> Could you add to your boss.config: 
> >> [{boss, [ 
> >>     {path, "../ChicagoBoss"}, <-- or whatever the correct relative path 
> to 
> >> your CB install 
> >> 
> >> And try again ? 
> >> 
> >> Thanks, 
> >> Eric 
> >> 
> >> Le 2 août 2013 à 12:18, Duarte Ferreira <[email protected]> a 
> écrit : 
> >> 
> >> > Hi, 
> >> > Just to give more information I'm using the git Head version of 
> >> > ChicagoBoss. 
> >> > 
> >> >     %% Uncomment the follwing line if you have Erlang R15 and want 
> >> > Elixir support 
> >> >     {elixir, ".*", {git, "git://github.com/elixir-lang/elixir.git", 
> >> > {tag, "v0.9.3"}}}, 
> >> >     %% Then copy priv/web_controller.ex to src/ in this directory and 
> >> > recompile 
> >> >     %% See README_ELIXIR for more details. 
> >> > 
> >> > I copied priv/elixir into the src directory on ChicagoBoss directory, 
> >> > now I have the directory src/elixir. 
> >> > 
> >> > 
> >> > I get this error the first time it compiles: 
> >> > 
> >> > Compiled src/boss/boss_erlydtl_tags.erl 
> >> > Compiled src/boss/boss_mail_driver_mock.erl 
> >> > Compiled src/boss_test/boss_test.erl 
> >> > 
> >> > =INFO REPORT==== 2-Aug-2013::11:11:30 === 
> >> >     application: elixir 
> >> >     exited: {bad_return, 
> >> >                 {{elixir,start,[normal,[]]}, 
> >> >                  {'EXIT', 
> >> >                      {undef, 
> >> >                          [{elixir,start,[normal,[]],[]}, 
> >> >                           {application_master,start_it_old,4, 
> >> >                               [{file,"application_master.erl"}, 
> >> >                                {line,269}]}]}}}} 
> >> >     type: temporary 
> >> > ERROR: 
> >> > *** Missing Elixir compiler *** 
> >> >   You must do one of the following: 
> >> >     a) Install Elixir globally in your erl libs 
> >> >     b) Add Elixir as a dep for your project, eg: 
> >> >       {deps, [{elixir, "0.9.3", 
> >> >         {git, "git://github.com/elixir-lang/elixir", 
> >> >          {tag, "v0.9.3"}}}]}. 
> >> >       {lib_dirs, ["deps/elixir/lib"]}. 
> >> > 
> >> > ERROR: compile failed while processing 
> /home/dferreira/dev/ChicagoBoss: 
> >> > rebar_abort 
> >> > 
> >> > When I rerun /rebar compile the error just goes away and everything 
> >> > seams ok. 
> >> > 
> >> > Untill I create the app and try to run it. 
> >> > 
> >> > Another this the README_ELIXIR.md and the rebar.conf have different 
> >> > instructions on how to get Elixir working. 
> >> > 
> >> > Quinta-feira, 1 de Agosto de 2013 22:01:49 UTC+1, Tim McNamara 
> escreveu: 
> >> > Thanks for reporting this Duarte. Sorry to see that things are not 
> >> > working for you as they should be. Erlang errors can be pretty 
> intimidating. 
> >> > This is saying that Chicago Boss can't find Elixir. 
> >> > 
> >> > In the rebar.config file, have you uncommented the exilir dependency 
> in 
> >> > the Chicago Boss directory? 
> >> > 
> >> >     %% Uncomment the follwing line if you have Erlang R15 and want 
> >> > Elixir support 
> >> >     % {elixir, ".*", {git, "git://github.com/elixir-lang/elixir.git", 
>
> >> > {tag, "v0.9.3"}}}, 
> >> >     %% Then copy priv/web_controller.ex to src/ in this directory and 
> >> > recompile 
> >> >     %% See README_ELIXIR for more details. 
> >> > 
> >> > Once this has been done, you can ask rebar to install Elixir for you. 
> >> > 
> >> > ./rebar get-deps 
> >> > ./rebar update-deps 
> >> > 
> >> > 
> >> > Tim McNamara 
> >> > @timClicks 
> >> > 
> >> > 
> >> > On 1 August 2013 22:10, Duarte Ferreira <[email protected]> 
> wrote: 
> >> > Hi, 
> >> > I'm just starting with Chicago Boss and Elixir so this is probably a 
> >> > really newbie mistake I'm making but when running the init-dev.sh 
> script 
> >> > with elixir enabled I get this error message: 
> >> > 
> >> > 11:01:16.750 [info] Application lager started on node 
> >> > koolectables@DuarteFerreira 
> >> > 11:01:16.773 [info] Application crypto started on node 
> >> > koolectables@DuarteFerreira 
> >> > 11:01:16.785 [info] Application mimetypes started on node 
> >> > koolectables@DuarteFerreira 
> >> > 11:01:16.830 [error] CRASH REPORT Process <0.84.0> with 0 neighbours 
> >> > exited with reason: call to undefined function elixir:start(normal, 
> []) in 
> >> > application_master:init/4 line 133 
> >> > 11:01:17.060 [info] Application elixir exited with reason: call to 
> >> > undefined function elixir:start(normal, []) 
> >> > 11:01:17.060 [info] Starting Boss in development mode.... 
> >> > 
> >> > This is just a starting application using the README_ELIXIR on 
> Github. 
> >> > 
> >> > Best 
> >> > 
> >> > -- 
> >> > You received this message because you are subscribed to the Google 
> >> > Groups "ChicagoBoss" group. 
> >> > To unsubscribe from this group and stop receiving emails from it, 
> send 
> >> > an email to [email protected]. 
> >> > For more options, visit https://groups.google.com/groups/opt_out. 
> >> > 
> >> > 
> >> > 
> >> > 
> >> > -- 
> >> > You received this message because you are subscribed to the Google 
> >> > Groups "ChicagoBoss" group. 
> >> > To unsubscribe from this group and stop receiving emails from it, 
> send 
> >> > an email to [email protected]. 
> >> > For more options, visit https://groups.google.com/groups/opt_out. 
> >> > 
> >> > 
> >> 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "ChicagoBoss" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "ChicagoBoss" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to [email protected] <javascript:>. 
> > For more options, visit https://groups.google.com/groups/opt_out. 
> > 
> > 
>
>
>
> -- 
> Evan Miller 
> http://www.evanmiller.org/ 
>

-- 
You received this message because you are subscribed to the Google Groups 
"ChicagoBoss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at http://groups.google.com/group/chicagoboss.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/chicagoboss/c9e86baf-05d2-4317-88f3-632a69727939%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to