Git Product home page Git Product logo

Comments (6)

Dhaulagiri avatar Dhaulagiri commented on August 20, 2024

What is the problem you are seeing @PanMan?

from heroku-buildpack-graphicsmagick.

PanMan avatar PanMan commented on August 20, 2024

Ah, I could have explained that better, yes :)
When I do:

heroku buildpacks:set https://github.com/heroku/heroku-buildpack-nodejs
heroku buildpacks:add --index 1 https://github.com/mcollina/heroku-buildpack-graphicsmagick

and then push to the repo, I get:

remote: Compressing source files... done.
remote: Building source:
remote:
remote: -----> Multipack app detected
remote: -----> Fetching custom buildpack https://github.com/mcollina/heroku-buildpack-graphicsmagick... done
remote:
remote:  !     Push rejected, failed to detect
remote:
remote: Verifying deploy...
remote:
remote: !   Push rejected to myrepo-dev
remote:
To https://git.heroku.com/myrepo-dev.git
 ! [remote rejected] panman-heroku -> master (pre-receive hook declined)
error: failed to push some refs to 'https://git.heroku.com/myrepo-dev.git'

Any ideas?

from heroku-buildpack-graphicsmagick.

Dhaulagiri avatar Dhaulagiri commented on August 20, 2024

FWIW, we had a lot of problems getting this buildpack to work so we switched to using the apt buildpack with a corresponding Aptfile that has graphicsmagick in it.

from heroku-buildpack-graphicsmagick.

benalavi avatar benalavi commented on August 20, 2024

@PanMan Didn't realize Heroku officially supports multiple buildpacks, haven't tested it but will have to give it a shot. Based on the linked article I think your problem is that Heroku can't detect what to run because (I think) you added the graphicsmagick buildpack after the node-js buildpack. I think the error "failed to detect" is Heroku saying it can't figure out what sort of app you're trying to run. I imagine if you reverse the order it should work.

Based that on the doc here:

The last buildpack in the list will be used to determine the process types for the application. Any process types defined from earlier buildpacks will be ignored.

So I think it's trying to determine "process types" based on the graphicsmagick buildpack and failing.

from heroku-buildpack-graphicsmagick.

Dhaulagiri avatar Dhaulagiri commented on August 20, 2024

That is correct

from heroku-buildpack-graphicsmagick.

benalavi avatar benalavi commented on August 20, 2024

@PanMan @Dhaulagiri I was wrong, just tested w/ ruby buildpack. Heroku changed their buildpack API a tiny bit and that is what was causing the problem. Looking at the actual build output it failed at graphicsmagick and didn't even try node first so I think you had the order correct.

Should be fixed but if it still fails lmk and I will reopen.

from heroku-buildpack-graphicsmagick.

Related Issues (18)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.