Closed niightly closed 3 years ago
Hi, it's me again, recently we had to move from Debian to Redhat (rhel8) I was reading the seems it should work with the centos build but I might have misunderstood something. I did try to run:
/usr/share/gems/gems/wkhtmltopdf-binary-0.12.6.5/bin/wkhtmltopdf --disable-smart-shrinking --orientation Portrait file:////tmp/pdf20211008-1-105kva7.html /tmp/pdf_generated_file20211008-1-jgpd3o.pdf
and I'm getting the error:
/usr/share/gems/gems/wkhtmltopdf-binary-0.12.6.5/bin/wkhtmltopdf:61:in `<main>': Invalid platform, must be running on Ubuntu 16.04/18.04/20.04 CentOS 6/7/8, Debian 9/10, archlinux amd64, or intel-based Cocoa macOS (missing binary: /usr/share/gems/gems/wkhtmltopdf-binary-0.12.6.5/bin/wkhtmltopdf_rhel_8.4_amd64)
Can you guys give some advice? thank you in advance
Please ask in the wkhtmltopdf-binary repository, as you're using the bundled wkhtmltopdf and not the package from the downloads page.
wkhtmltopdf-binary
Hi, it's me again, recently we had to move from Debian to Redhat (rhel8) I was reading the seems it should work with the centos build but I might have misunderstood something. I did try to run:
and I'm getting the error:
Can you guys give some advice? thank you in advance