Closed aerosol closed 8 years ago
@aerosol i reproduce it as well. Thanks for the ticket :)
It seems that rebar3_elixir always expect the libs built with an env [1] where ecto disable it [2] and uses shared instead. One possible fix would be checking if this shared folder is created (so we don't have to parse the conf). cc @sivsushruth
[1] https://github.com/barrel-db/rebar3_elixir/blob/master/src/rebar3_elixir_util.erl#L213 [2] https://github.com/elixir-ecto/ecto/blob/master/mix.exs#L12
@benoitc @aerosol https://github.com/barrel-db/rebar3_elixir/pull/12 allows to compile ecto now. Starting it however requires logger to start. Let me know what you think.
Hey folks, thanks for a blazing fast reaction 🚀 I hope to check it out on weekend.
@aerosol @benoitc Fixed in latest master https://github.com/barrel-db/rebar3_elixir/commit/a8eec56751d925449c226b4577fe1db43512bfa3
===> Adding Elixir Libs
Erlang/OTP 18 [erts-7.3] [source] [64-bit] [smp:8:8] [async-threads:0] [hipe] [kernel-poll:false] [dtrace]
Eshell V7.3 (abort with ^G)
1> application:ensure_all_started(ecto).
{ok,[logger,decimal,poolboy,ecto]}
2>
@sivsushruth works for me as well. Thanks!
I know it's probably pointless due to heavy macro usage, however: