-sh: 12: Syntax error: “&” unexpected error when you build Elixir app with edeliver

This error looks like this:

This simple dummy error means that you have different shell on your build host.
I created a user “bot” on my DigitalOcean VPS and user’s shell was sh by default.
So I logged in to the build host and changed shell like chsh /bin/bash.
OR you can edit /etc/passwd file and change/append /bin/bash in the line where your user located.

bash: line 10: mix: command not found when building Elixir app with edeliver

Another dummy error which could be fixed in a minute.

Solution is simple -you need to install mix, so follow the instructions here: http://elixir-lang.org/install.html#unix-and-unix-like