PDFkit hangs when generating a pdf with an image
问题 I want to render a webpage as a PDF. It uses a single image, and I've read that you need to supply the absolute URL for PDFkit to be able to use the image, so my code is: = image_tag image_url(user.avatar) This works when viewed as HTML, and PDFkit is able to generate a PDF with the image removed. However, when using the image, it just hangs until I kill the server. How can I get this to work? Here's the full output when I kill the server: 2013-12-04 13:53:36.576 wkhtmltopdf[27410:507]