在OS 10.6.8下安装乘客,先在rbenv下安装,然后在卸载rbenv之后,也在rvm下安装
Mini:~ user$ gem install passenger
正在生成转换错误:
unable to convert "\xE4" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for CHANGELOG, skipping
unable to convert "\xC5" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for CONTRIBUTORS, skipping
unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for debian.template/copyright, skipping
unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/Security of user switching support.idmap.txt, skipping
unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/Users guide Apache.idmap.txt, skipping
unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/Users guide Nginx.idmap.txt, skipping
unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for doc/Users guide Standalone.idmap.txt, skipping
unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for ext/common/Utils/Base64.cpp, skipping
unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for ext/common/Utils/Base64.h, skipping
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for ext/libeio/Changes, skipping
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for ext/libeio/ecb.h, skipping
unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for ext/libev/Changes, skipping
unable to convert "\xC2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for ext/libev/ev.c, skipping
unable to convert U+2713 from UTF-8 to US-ASCII for lib/phusion_passenger/config/validate_install_command.rb, skipping
unable to convert U+00A9 from UTF-8 to US-ASCII for lib/phusion_passenger/utils/json.rb, skipping
unable to convert U+2023 from UTF-8 to US-ASCII for lib/phusion_passenger/utils/terminal_choice_menu.rb, skipping
unable to convert "\xE2" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for test/cxx/UtilsTest.cpp, skipping
Installing ri documentation for passenger-4.0.48
unable to convert "\xC3" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for README.rdoc, skipping
unable to convert "\x89" to UTF-8 in conversion from ASCII-8BIT to UTF-8 to US-ASCII for test/multipart/binary, skipping
unable to convert U+00F8 from UTF-8 to US-ASCII for test/spec_utils.rb, skipping
我继续安装了nginx模块。
Mini:~ user$ passenger-install-nginx-module
结果是红色的..。
It looks like something went wrong
我推测转换错误是一些问题的根源。尤其令人担心的是,某些文件在配置目录中被击中.
假设卸载,如何在没有转换错误的情况下安装这些设备?
ruby-1.9.3-p547/gems/passenger-4.0.48/
是环境
更新显然错误仅与文档相关。
gem install passenger --no-ri --no-rdoc
安装乘客4.0.48。
然而,nginx未能安装
发布于 2016-05-04 15:15:13
最好只是更新rdoc
gem:
gem install rdoc
这个错误是由于rdoc
试图读取二进制文件而产生的。这个窃听器已经修好了。
发布于 2014-08-11 03:14:37
这些错误显然只是与文件有关。
gem install passenger --no-ri --no-rdoc
安装乘客4.0.48。
然而,由于OS版本,nginx不会安装。
在雪豹上,您可以安装最新版本,然后安装nginx是:
gem install passenger -v 4.0.5
https://stackoverflow.com/questions/25012733
复制