For some rease gimli can't find the wkhtmltopdf file even though it present in /usr/local/bin/wkhtmltopdf.
/opt/local/lib/ruby/gems/1.8/gems/pdfkit-0.5.1/lib/pdfkit/configuration.rb:20: warning: Insecure world writable dir /data/dev in PATH, mode 040777
/opt/local/lib/ruby/gems/1.8/gems/pdfkit-0.5.1/lib/pdfkit/pdfkit.rb:29:in `initialize': No wkhtmltopdf executable found at Could not locate Gemfile (PDFKit::NoExecutableError)
>> Please install wkhtmltopdf - https://github.com/jdpace/PDFKit/wiki/Installing-WKHTMLTOPDF
from /opt/local/lib/ruby/gems/1.8/gems/gimli-0.1.8/bin/../lib/gimli/converter.rb:56:in `new'
from /opt/local/lib/ruby/gems/1.8/gems/gimli-0.1.8/bin/../lib/gimli/converter.rb:56:in `pdf_kit'
from /opt/local/lib/ruby/gems/1.8/gems/gimli-0.1.8/bin/../lib/gimli/converter.rb:67:in `output_pdf'
from /opt/local/lib/ruby/gems/1.8/gems/gimli-0.1.8/bin/../lib/gimli/converter.rb:31:in `convert!'
from /opt/local/lib/ruby/gems/1.8/gems/gimli-0.1.8/bin/../lib/gimli/converter.rb:24:in `each'
from /opt/local/lib/ruby/gems/1.8/gems/gimli-0.1.8/bin/../lib/gimli/converter.rb:24:in `convert!'
from /opt/local/lib/ruby/gems/1.8/gems/gimli-0.1.8/bin/../lib/gimli.rb:21:in `process!'
from /opt/local/lib/ruby/gems/1.8/gems/gimli-0.1.8/bin/gimli:9
from /opt/local/bin/gimli:19:in `load'
from /opt/local/bin/gimli:19
For some rease gimli can't find the
wkhtmltopdf
file even though it present in/usr/local/bin/wkhtmltopdf
.