乘客安装时出现转换错误.对 nginx 模块的影响? [英] Passenger install with conversion errors. Impact on nginx module?

查看:48
本文介绍了乘客安装时出现转换错误.对 nginx 模块的影响?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

OS X 10.6.8下安装passenger,先在rbenv下,然后卸载rbenv后,也在rvm下

Under OS X 10.6.8 installing passenger, first under rbenv, then after uninstalling rbenv, also under 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 模块

I went ahead and installed the nginx module

Mini:~ user$ passenger-install-nginx-module  

不满意的结果是红色...

with unhappy results in red...

It looks like something went wrong

我推测转换错误是某些问题的根源.尤其令人担忧的是,某些命中配置目录中的文件的脂肪...

I surmise that the conversion errors are at the root of some issues. particularly worrisome is the fat that some hit files in config directories...

假设已卸载,如何安装这些软件而不会出现转换错误?

Assuming an uninstall, how can these be installed without conversion errors?

ruby-1.9.3-p547/gems/passenger-4.0.48/是环境

更新错误显然仅与文档有关.

Update The errors apparently are only relative to the documentation.

 gem install passenger --no-ri --no-rdoc 

确实安装了乘客 4.0.48.

does install passenger 4.0.48.

nginx 安装失败

推荐答案

最好只更新 rdoc gem:

It'd better to just update the rdoc gem:

gem 安装 rdoc

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

The bug comes about due to rdoc trying to read a binary file. This bug was fixed.

这篇关于乘客安装时出现转换错误.对 nginx 模块的影响?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆