Open miguelpeniche opened 10 months ago
You maybe able to work around this by using the ApplicationController
renderer. This worked in my example.
Change your render_to_string
to this:
ApplicationController.renderer.render(
template: "pdfs/#{template}",
locals: locals,
encoding: "UTF-8"
)
Hope this helps!
Console error:
Method:
MacOS Sonoma 14.2 wicked_pdf (2.6.3) wkhtmltopdf 0.12.6 (with patched qt)
Showing the file is ok, but trying to save the file with Carrierwave return this error