Установка Passenger падает с ошибкой

Использую FreeBSD 10.1. Обновляю rubygem-passenger до последней 5.0.6 стандартно, через portupgrade.

Ловлю ошибки

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

Оказывается, это из-за того, что ruby-2.1.6 был собран без опций DOC/RDOC.
Установил эти галки, пересобрал ruby и только тогда нормально проапдейтился rubygem-passenger

Александр Черных
системный администратор

Статьи по теме