Distillery 发布失败:无法找到 m{elixir-1.7.2","./lib/elixir-1.7.2 的代码路径

Distillery release fails: Could not locate code path for m{elixir-1.7.2","./lib/elixir-1.7.2

我正在尝试在 Gigalixir 上部署我的应用程序,然后开始使用现有应用程序。

我已将 [{:distillery, "~> 2.1"}] 添加到我的 mix.deps

构建生产版本

SECRET_KEY_BASE="$(mix phx.gen.secret)" 
DATABASE_URL="postgresql://postgres:postgres@localhost:5432/rumbl_dev"
MIX_ENV=prod
mix distillery.release --env=prod

但后来我 运行 _build/prod/rel/rumbl/bin/rumbl start,结果失败

Could not locate code path for m{elixir-1.7.2","./lib/elixir-1.7.2!

知道会发生什么吗?

您应该比较混合文件中的 elixir 版本和服务器上安装的版本。