Closed jonnocraig closed 11 years ago
I need some log to help you out, otherwise I cannot help you.
Thanks for getting back so quickly.
Following your instructions: heroku config:set BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi
Then adding a .buildpacks file: https://github.com/mcollina/heroku-buildpack-imagemagick https://github.com/heroku/heroku-buildpack-nodejs
I run the command to push to Heroku: git push heroku master
Then I get the following message: Counting objects: 4, done. Delta compression using up to 4 threads. Compressing objects: 100% (3/3), done. Writing objects: 100% (3/3), 352 bytes, done. Total 3 (delta 1), reused 0 (delta 0)
-----> Fetching custom git buildpack... done ! Heroku push rejected, no Cedar-supported app detected
To git@heroku.com:rebecca-and-jonathan.git ! [remote rejected] master -> master (pre-receive hook declined) error: failed to push some refs to 'git@heroku.com:rebecca-and-jonathan.git'
Hope this helps? Thanks in advance.
Have you got a Procfile?
https://devcenter.heroku.com/articles/nodejs#declare-process-types-with-procfile
Yes, the app was working as a nodeJS app before my attempts at getting imagemagick deployed on Heroku.
The only contents of the Procfile are: web: node server.js
Is this correct?
Yes, absolutely.
Maybe I made a bad readme.
Could you try?
$ heroku config:add BUILDPACK_URL=https://github.com/ddollar/heroku-buildpack-multi.git
Okay, it's working now. I did run the line above before but I think the issue was my ".buildpacks" file. It was missing the second line "https://github.com/heroku/heroku-buildpack-nodejs".
Thank you very much for assisting me and your contributions to the open source community :)
I'm seeing the same issue. I've run the BUILDPACK_URL line from above, and my .buildpacks has both lines in it.
Aha, the extra step is to "git add" the .buildpacks file.
When I try pushing my app up after the changes required I get the error above, any ideas on what's causing this?