Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Solved] can't install it on the heroku-20 stack #9

Open
did opened this issue Mar 9, 2021 · 2 comments
Open

[Solved] can't install it on the heroku-20 stack #9

did opened this issue Mar 9, 2021 · 2 comments

Comments

@did
Copy link
Contributor

did commented Mar 9, 2021

It complains about not finding the Python config tool while building the gobject-introspection lib.
...

Fortunately, I've found a much easier solution to get poppler working in my rails app:

1/ I added the apt buildpack (https://buildpack-registry.s3.amazonaws.com/buildpacks/heroku-community/apt.tgz) to my Heroku app (must be in first position).

2/ My Aptfile file (stored at the root of my app) contains the following content:

gir1.2-poppler-0.18
libpoppler-dev
libpoppler-glib-dev
poppler-utils
@MattFenelon
Copy link
Owner

Great!

@MattFenelon
Copy link
Owner

You should be able to use Heroku's official apt buildpack https://github.com/heroku/heroku-buildpack-apt.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants