2. cd /usr/local/bin
extract the zipped file inside /usr/loca/bin folder using command
if your prodcution machine is 32 bit tar -xvjf
wkhtmltopdf-0.9.9-static-i386.tar.bz2
if your machine is 64 bit tar -xvjf wkhtmltopdf-0.9.9-static-amd64.tar.bz2
3.if your machine is 32 bit sudo mv wkhtmltopdf-0.9.9-static-i386 wkhtmltopdf
if your machine is 64 bit sudo mv wkhtmltopdf-0.9.9-static-amd64
wkhtmltopdf
4. vi project_folder/vendor/plugin/wickedpdf/lib/wicked_pdf.rb
in the method def pdf_from_string
add a line i.e (setting a path) @exe_path="/usr/local/bin/wickedpdf"
b4 the line command ="#{@exe_path}................etc "