Ruby on Rails - 无法转换" \x89"从ASCII-8BIT到xxx / xxxx / xxxx的UTF-8 [英] Ruby on Rails - unable to convert "\x89" from ASCII-8BIT to UTF-8 for xxx/xxxx/xxxx

查看:366
本文介绍了Ruby on Rails - 无法转换" \x89"从ASCII-8BIT到xxx / xxxx / xxxx的UTF-8的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我在linux系统的rails 4.0.0上安装ruby,但是我收到了这样的错误无法将\x89从ASCII-8BIT转换为UTF8 for guides / assets / images / getting_started /routing_error_no_route_matches.png,跳过和许多类似的错误,我阅读这里 a>它不会造成任何影响,但我不明白为什么它会来。任何指针?

I am installing ruby on rails 4.0.0 on my linux system , but i am getting this kind of errors unable to convert "\x89" from ASCII-8BIT to UTF8 for guides/assets/images/getting_started/routing_error_no_route_matches.png, skipping and many similar errors , i read here that it won't cause any effect ,but i do not understand why it is coming . Any pointers?

推荐答案

您需要更新/安装支持转换的rdoc gem版本。然后,在安装rails或重新生成文档时,在生成文档时,这些错误将不会显示。

You need to update / install a version of the rdoc gem that supports the conversion. Then these errors won't appear during generation of the documentation when you install rails or when you regenerate the documentation.

gem install rdoc

然后重新生成文档

gem rdoc --all --overwrite

这篇关于Ruby on Rails - 无法转换" \x89"从ASCII-8BIT到xxx / xxxx / xxxx的UTF-8的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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