在生产服务器(ubuntu 14.04)中,PDF下载时出现此错误
引荐链接并尝试
https://gist.github.com/brunogaspar/bd89079245923c04be6b0f92af431c10
$ wkhtmltopdf http://www.google.com google.pdf
/usr/local/rvm/gems/ruby-2.5.1/gems/wkhtmltopdf-binary-0.12.4/bin/wkhtmltopdf_linux_x86:1:/usr/local/rvm/gems/ruby-2.5.1/gems /wkhtmltopdf-binary-0.12.4/bin/wkhtmltopdf_linux_x86:语法错误:单词意外(期望“)”)
有什么帮助吗?