乘客安装时出现转换错误。对 nginx 模块有影响吗?

标签 passenger osx-snow-leopard

在OS X 10.6.8下安装passenger,首先在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 安装失败

最佳答案

最好只更新 rdoc gem:

gem 安装 rdoc

该错误是由于 rdoc 尝试读取二进制文件而产生的。此错误已修复。

关于乘客安装时出现转换错误。对 nginx 模块有影响吗?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/25012733/

相关文章:

ruby-on-rails - Passenger Apache2 CentOS RVM Permission denied on startup

java - 无法使用和平主义者使用 Java 1.7.0.45 在 Mac OS X 10.6.8 上运行线程 java jar 文件

python - var = input ("Press any key to continue") - 为什么这不起作用?

python - 无法让 OpenCV 在 Mac 上使用 Python

java - 写入文件时出现奇怪的字符 (Mac) (Java)

mysql - 使用 Passenger : missing the mysql gem 部署 Rails 3 时出现问题

ruby-on-rails - Phusion 乘客状态 : what value for passenger_instance_registry_dir?

mysql - 发生未处理的低级错误

ruby-on-rails - 尝试使用 https 时乘客崩溃

php 短标签在 os x 中不起作用