的文档安装
9.3和rails 3.2.13在我的应用程序中创建PDF所以我安装gem install wkhtmltopdf和gem install wkhtmltopdf-binary -v '0.9.9.1'但是我得到了以下消息如何解决这个
成功安装wkhtmltopdf-0.1.2安装1块宝石安装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, skipping
gem安装wkhtmltopdf-binary - 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
安装文档时出现错误。试着
gem install wkhtmltopdf --no-document
这是文档问题。在安装gem之前执行:gem update rdoc
。它应该能解决问题。或者直接忽略--no-document
键