1
我在application.rb中 做錯誤pdfkit在軌
gem install pdfkit
gem install wkhtmltopdf
添加
config.middleware.use "PDFKit::Middleware", :print_media_type => true
,當我去鏈接到PDF文件使用.pdf擴展
它顯示錯誤如下
No wkhtmltopdf executable found at bundler: command not found: which
Install missing gem executables with `bundle install`
>> Please install wkhtmltopdf -https://github.com/jdpace/PDFKit/wiki/Installing WKHTMLTOPD
不,那不是我的問題.plz給我其他解決方案 –