Skip to content

Instantly share code, notes, and snippets.

@jaydorsey
Last active October 25, 2022 21:10
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jaydorsey/e96b93ecd102063937f630cde5689815 to your computer and use it in GitHub Desktop.
Save jaydorsey/e96b93ecd102063937f630cde5689815 to your computer and use it in GitHub Desktop.
Notes on Poppler/ActiveStorage on Heroku

To install poppler on Heroku, you need to:

  • Include the apt & activestorage buildpacks
  • Include the apt file with poppler dependencies
  • Include gem 'poppler' in your Gemfile

This still breaks with an error:

GObjectIntrospection::RepositoryError::TypelibNotFound: Typelib file for namespace 'Poppler'

Related issue here which also includes a link to a PR which is supposed to resolve the issue. Waiting on merge into the build pack

{
"buildpacks": [
{ "url": "heroku-community/apt" },
{ "url": "heroku/nodejs" },
{ "url": "heroku/ruby" },
{ "url": "https://github.com/heroku/heroku-buildpack-activestorage-preview" }
]
}
libgirepository-1.0-1
libgirepository1.0-dev
libpoppler-glib-dev
@tygern
Copy link

tygern commented Oct 25, 2022

Did you ever find a resolution?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment