Am having an issue with Mix.Project being missing in an Elixir/Phoenix prod release - it is needed for a multitenant migration - and is called in Ecto… Any ideas why this would be missing in a release??
What am doing wrong - am using Edeliver/distillery to do the release/deploy
Error on the remote_console on the prod instance
iex(email@example.com)5> Apartmentex.new_tenant(Repo, foo.id)
** (UndefinedFunctionError) function Mix.Project.deps_paths/0 is undefined (module Mix.Project is not available)
(ecto) lib/mix/ecto.ex:172: Mix.Ecto.source_repo_priv/1