jjzjj

NoExecutableError

全部标签

ruby - 无法使用 pdfkit 创建 pdf - PDFKit::NoExecutableError

我安装了pdfkit,甚至还安装了wkhtmltopdf,但是每次我尝试创建pdf时都会收到以下错误。PDFKit::NoExecutableErrorNowkhtmltopdfexecutablefoundatbundler:commandnotfound:whichInstallmissinggemexecutableswith`bundleinstall`>>Pleaseinstallwkhtmltopdf-https://github.com/jdpace/PDFKit/wiki/Installing-WKHTMLTOPDF我的Gemfile有以下内容:gem'jquery-r