Jump to content

The ultimate community for Ruby on Rails developers.


Generating pdf using wickedpdf and wkhtmltopdf in rails 2.3

Rails wickedpdf wkhtmltopdf

  • Please log in to reply
1 reply to this topic

#1 Mayara Rajesh

Mayara Rajesh


  • Members
  • 1 posts

Posted 20 March 2014 - 11:36 AM

I am working with rails 2.3 with wickedpdf and wkhtmltopdf. While generating pdf it works fine at first time. When i am generating the pdf at second time onwards it generates RunTime Error.
It shows the error like below.
RuntimeError in Controller#action

PDF could not be generated!

Segmentation fault (core dumped)


#2 jack



  • Members
  • 19 posts
  • LocationPoole

Posted 20 March 2014 - 12:44 PM

No idea about that particular gem, but I know where I work we use Prawn instead, and it works quite well. http://prawnpdf.org/api-docs

Also tagged with one or more of these keywords: Rails, wickedpdf, wkhtmltopdf

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users