install produces numerous unable to convert "\xXX" from ASCII-8BIT to UTF-8 messages
gem install pry-doc with ruby 2.x (I think older rubies too) gets hundreds of "unable to convert" messages while parsing documentation; console excerpt below:
...
Successfully installed yard-0.8.6.1
Fetching: pry-doc-0.4.6.gem (100%)
Successfully installed pry-doc-0.4.6
Parsing documentation for yard-0.8.6.1
unable to convert "\xF5" from ASCII-8BIT to UTF-8 for lib/yard/server/templates/default/fulldoc/html/images/processing.gif, skipping
Installing ri documentation for yard-0.8.6.1
Parsing documentation for pry-doc-0.4.6
unable to convert "\x8D" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/object_types, skipping
unable to convert "\xEC" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/ArgumentError.dat, skipping
unable to convert "\xB1" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array.dat, skipping
unable to convert "\xFB" from ASCII-8BIT to UTF-8 for lib/pry-doc/core_docs_18/objects/Array/-_i.dat, skipping
...
Try this: gem install pry-doc --no-ri --no-rdoc. The problem is that it tries to parse Ruby docs in a .dat file (it doesn't contain Ruby source code).
Sorry, I may be misunderstanding something, but doesn't that give the same result as just ignoring the errors?
Also, do I correctly understand you to be saying that there is a flaw in rubygems, and that it should ignore the .dat file?
I have never investigated it properly, so I can't be sure in anything.
Okay, thanks.
On Fri, Dec 6, 2013 at 5:45 PM, Kyrylo Silin [email protected]:
I have never investigated it properly, so I can't be sure in anything.
— Reply to this email directly or view it on GitHubhttps://github.com/pry/pry-doc/issues/13#issuecomment-30036250 .
Brandon Zylstra [email protected]