Ruby UTF-8 error before ASCII

I have a version of Ruby 1.9.2 on Centos 5.5. Every time I install a gem, I get an error

ERROR: While generating documentation for (gem) ... MESSAGE: U+2018 from UTF-8 to US-ASCII ... RDOC args: lib History.txt README.txt 

The gem is still setting normally, but there are certain things that I cannot do. For example, use SproutCore. I get this little stone (pun intended).

 sc-init xxxx ~ Created directory at xxxx FATAL ~ invalid byte sequence in US-ASCII 

Does anyone know what is happening and how to fix it? Google doesn't really help with this.

+4
source share
1 answer

RDoc was updated last week and was supposed to help fix encoding problems.

Try gem update rdoc and see if that helps.

+6
source

Source: https://habr.com/ru/post/1338674/


All Articles