botsunit / elixir.mk

A (very) experimental plugins for erlang.mk to use Elixir modules in Erlang
13 stars 3 forks source link

Error when building the sample using "ELIXIR_MIX_ENV = prod" (in the Makefile) #1

Open mfranck opened 8 years ago

mfranck commented 8 years ago

The following exception is raised at compile-time: Generated iex app make[1]: Leaving directory `/home/deploy/elixir.mk/sample/deps/elixir' DEP hex DEP poison

12:17:35.553 [error] Task #PID<0.194.0> started from #PID<0.47.0> terminating \ (UndefinedFunctionError) undefined function Inspect.inspect/2 (elixir) Inspect.inspect(Poison.Decoder, %Inspect.Opts{base: :decimal, binaries: :infer, char_lists: :infer, limit: 50, pretty: false, safe: true, structs: true, width: 80}) (elixir) lib/kernel.ex:1569: Kernel.inspect/2 (mix) lib/mix/tasks/compile.protocols.ex:110: Mix.Tasks.Compile.Protocols.consolidate/3 (elixir) lib/task/supervised.ex:89: Task.Supervised.do_apply/2 (elixir) lib/task/supervised.ex:40: Task.Supervised.reply/5 (stdlib) proc_lib.erl:240: :proc_lib.init_p_do_apply/3 Function: #Function<6.130943846/0 in Mix.Tasks.Compile.Protocols.consolidate/5> Args: []

mfranck commented 8 years ago

Can be fixed using "ELIXIR_BRANCH=v1.1" in the Makefile