Re: [Rails] WickedPdf error in production

2013-01-31 Thread Khizer Mehdi
Hi Saravanan, Try below steps : 1. Download wicked pdf file if your machine is 64 bit http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-amd64.tar.bz2 if your machine is 32 bit http://wkhtmltopdf.googlecode.com/files/wkhtmltopdf-0.9.9-static-i386.tar.bz2 2. cd /usr/local/bin ex

[Rails] WickedPdf error in production

2013-01-30 Thread Saravanan P
Hello everyone, I am using rails -v 3.2.8. I am using wickedpdf to generate pdf. Its working well in my local machine. But its not working in production server. ompleted 500 Internal Server Error in 4443ms RuntimeError (Failed to execute: "/var/www/apps/staging/shared/bundle/ruby/1.9.1/bin/wkhtm