pallymore / wkhtmltopdf-binary-edge

this is forked from tolgap/wkhtmltopdf-binary .
MIT License
74 stars 33 forks source link

Wktohtmltopdf-binary-edge not working in heroku #21

Closed Ajithtechkumar closed 4 years ago

Ajithtechkumar commented 4 years ago

First of all I tried it with wktmltopdf-heroku gem it didn't work then i continued to use this gem with heroku 18 but it showed the below error: Screenshot from 2020-04-08 19-12-51

From the error it seems that i need to install the libpng12 package in heroku 18 since it doesn't have support for that. Can anyone help me with this ...

Also I made this gem to make my charts works in development and I am afraid I can't choose any other gems.

geekdeepak commented 4 years ago

https://razorjack.net/wkhtmltopdf-on-heroku-evaluating-different-installation-options/ this article should help you, this gem is for local only.

Ajithtechkumar commented 4 years ago

@geekdeepak well i already tried those methods. In heroku i solved the issue my downgrading to heroku stack 16, What i didn't understand is why the libpng12 package is not supported in heroku 18

DemitryT commented 4 years ago

Make sure to have libssl in Aptfile and try using this gem in the production block: gem 'wkhtmltopdf-heroku', '2.12.5.0'

pallymore commented 4 years ago

Please use wkhtmltopdf-herokuhttps://github.com/rposborne/wkhtmltopdf-heroku instead - this gem is for local development only