mudge / re2

Ruby bindings to RE2, a "fast, safe, thread-friendly alternative to backtracking regular expression engines like those used in PCRE, Perl, and Python".
http://mudge.name/re2/
BSD 3-Clause "New" or "Revised" License
129 stars 13 forks source link

unable to convert "\xCF" from ASCII-8BIT to UTF-8 for lib/re2.bundle, skipping #16

Closed mattes closed 11 years ago

mattes commented 11 years ago
$ gem install re2
Fetching: re2-0.5.0.gem (100%)
Building native extensions.  This could take a while...
Successfully installed re2-0.5.0
Parsing documentation for re2-0.5.0
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for lib/re2.bundle, skipping
Installing ri documentation for re2-0.5.0
1 gem installed

see line 6.

mudge commented 11 years ago

Apparently this is a bug in RDoc included in Ruby 2.0.0: see rdoc/rdoc#195 and davidfstr/rdiscount#96

Can you try upgrading RDoc to 4.0.1 to see if this remedies the warning?

mattes commented 11 years ago

upgrading to rdoc 4.0.1 helped. thanks!

$ rdoc --version
rdoc 4.0.1

$ gem install re2
Building native extensions.  This could take a while...
Successfully installed re2-0.5.0
Parsing documentation for re2-0.5.0
Done installing documentation for re2 after 0 seconds
1 gem installed