0

while deploying a Phoenix project, on Heroku it is saying mix command not found

I checked the Buildpacks of elixir and Phoenix are installed, pushed the code also before running the task.

tried after doing changes in the bashrc file (commented the code for "if not running interactively, don't do anything")

also tried with a change in the .profile file ($HOME/.asdf/asdf.sh)

although "mix phoenix.server" is working fine

heroku run 'POOL_SIZE=2 mix test.task'

Running POOL_SIZE=2 mix test.task on ⬢ evening-hollows-99899... up, run.2532 (Free) bash: mix: command not found

Aleksei Matiushkin
  • 119,336
  • 10
  • 100
  • 160

0 Answers0