Open sheharyarn opened 9 years ago
same issue. Tried with a brand new "hello world" mix project. I also tried MIX_ENV=prod. Same exact error.
I'm working in a pure Elixir replacement lib that will remove the dependency from slug
command that is causing those issues.
+1 Same issue / Thanks for your hard work.
+1 same issue - is there anyway to integrate what you've done exlug, with this project?
In the meanwhile, you guys can deploy using the Phoenix Buildpack for Heroku. There's even a full step-by-step tutorial in the official Phoenix Guides.
@sheharyarn thanks. Thats where I started, and just wanted to stop deploying source to production. Working through this I finally "got" something I'd totally missed. To be able to compile for production you need to compile on the same environment as production. So if you plan to build a release for heroku you'll need to build inside a container (or be working on a linux machine). That added an extra level of complexity I wasn't quite ready for, but I'm sure with some time and careful thought, this can be integrated into something like Vagrant or even better Otto using a virtual machine.
I'm trying to release my first
elixir
-phoenix
app onheroku
. I'm getting this error: