Awlexus
Heroku buildpack config file not found, even though it's in the project root
I’m trying to use a custom elixir_buildpack.config. I placed it into the root directory as it is written in the readme and commit the file yet, when I push to heroku it can’t seem to find the file
project $ tree -L 1
.
├── _build
├── config
├── deps
├── elixir_buildpack.config
├── lib
├── mix.exs
├── mix.lock
├── priv
├── Procfile
├── README.md
└── test6 directories, 5 files
project $ git ls-files --error-unmatch elixir_buildpack.config
elixir_buildpack.config
Did I misunderstand something from the readme?
Copied from
Most Liked
lancejjohnson
@shijith.k I’m not sure if this is still relevant to you or not but I ran into the same issue today. Awlexus’s catch about the branch pointed me in the right direction. I was on a branch heroku-setup and had added the buildpack config file while on that branch. I ran git push heroku master which caused the failure. I needed to specify that I was pushing my local heroku-setup branch to the heroku remote’s master branch. In other words, I need to run git push heroku heroku-setup:master. Hope that helps if it’s still relevant.
Awlexus
Thank you for your assistance I was finally able to find out what the issue was. Turns out that the config file was always there, but just not on the correct git branch 







