I am getting the following error when running mix ecto.create on a test project:
$ mix ecto.create
==> ecto_enum
Compiled lib/ecto_enum/postgres.ex
== Compilation error on file lib/ecto_enum.ex ==
** (CompileError) lib/ecto_enum.ex:124: type keyword() undefined
(stdlib) lists.erl:1337: :lists.foreach/2
(stdlib) erl_eval.erl:669: :erl_eval.do_apply/6
could not compile dependency :ecto_enum, "mix compile" failed. You can recompile this dependency with "mix deps.compile ecto_enum", update it with "mix deps.update ecto_enum" or clean it with "mix deps.clean ecto_enum"
I am getting the following error when running mix ecto.create on a test project:
Relevant file contents are shown below:
web/models/user.ex
Using ERL version on Ubuntu 15.04.
What could I be missing?