PDFkitを使用しようとしています。私は得る
command failed: "/Users/burtondav/sites/ndeavor/bin/wkhtmltopdf-amd64" "--page-size" "Letter" "--margin-top" "0.75in" "--margin-right" "0.75in" "--margin-bottom" "0.75in" "--margin-left" "0.75in" "--encoding" "UTF-8" "--print-media-type" "--quiet" "-" "-"
(gem) pdfkit-0.5.3/lib/pdfkit/pdfkit.rb のこのコードでエラーが発生します
73 raise "command failed: #{invoke}" if result.to_s.strip.empty?
/bin/ に wkhtmltopdf-amd64 があります
pdfkit.rb には、次のものがあります。
config.wkhtmltopdf = Rails.root.join('bin', 'wkhtmltopdf-amd64').to_s
助けてくれてありがとう!