9.3和rails 3.2.13在我的应用程序中创建了PDF,因此我安装了gem安装wkhtmltopdf和gem安装wkhtmltopdf-二进制-v '0.9.9.1',但是我得到了如何解决这个问题的消息
gem安装wkhtmltopdf
成功安装wkhtmltopdf-0.1.2 1 gem,安装wkhtmltopdf-0.1.2的ri文档。
unable to convert "\x90" from ASCII-8BIT to UTF-8 for bin/wkhtmltopdf_linux_386, skipping
unable to convert "\xCE" from ASCII-8BIT to UTF-8 for bin/wkhtmltopdf_darwin_386, skipping
Installing RDoc documentation for wkhtmltopdf-0.1.2...
unable to convert "\x90" from ASCII-8BIT to UTF-8 for bin/wkhtmltopdf_linux_386, skipping
unable to convert "\xCE" from ASCII-8BIT to UTF-8 for bin/wkhtmltopdf_darwin_386, skippinggem安装wkhtmltopdf-二进制-v '0.9.9.1'
Fetching: wkhtmltopdf-binary-0.9.9.1.gem (100%)^[[1;2C
Successfully installed wkhtmltopdf-binary-0.9.9.1
1 gem installed
Installing ri documentation for wkhtmltopdf-binary-0.9.9.1...
unable to convert "\xA3" from ASCII-8BIT to UTF-8 for bin/wkhtmltopdf_linux_x64, skipping
unable to convert "\xC0" from ASCII-8BIT to UTF-8 for bin/wkhtmltopdf_linux_386, skipping
unable to convert "\xCE" from ASCII-8BIT to UTF-8 for bin/wkhtmltopdf_darwin_386, skipping
Installing RDoc documentation for wkhtmltopdf-binary-0.9.9.1...
unable to convert "\xA3" from ASCII-8BIT to UTF-8 for bin/wkhtmltopdf_linux_x64, skipping
unable to convert "\xC0" from ASCII-8BIT to UTF-8 for bin/wkhtmltopdf_linux_386, skipping
unable to convert "\xCE" from ASCII-8BIT to UTF-8 for bin/wkhtmltopdf_darwin_386, skipping发布于 2013-04-04 09:38:17
错误发生在安装文档时。试一试
gem install wkhtmltopdf --no-document发布于 2015-03-29 22:54:22
这是文件问题。执行以下操作:在gem安装之前使用gem update rdoc。它应该能修好它。或者忽略带有--no-document键的文档安装
https://stackoverflow.com/questions/15807535
复制相似问题