arthurnn / memcached

A Ruby interface to the libmemcached C client
Academic Free License v3.0
432 stars 127 forks source link

charset problems on install #51

Closed ddebernardy closed 13 years ago

ddebernardy commented 13 years ago
DB:~/ruby/backend $ sudo gem install memcached
Fetching: memcached-1.2.7.gem (100%)
Building native extensions.  This could take a while...
Successfully installed memcached-1.2.7
1 gem installed
Installing ri documentation for memcached-1.2.7...
unable to convert "\xCF" from ASCII-8BIT to UTF-8 for ext/bin/memcat, skipping
(... lots more similar lines issues; same for rdocs)

Also, when trying it with --pre, it tries to install 1.2.6:

DB:~/ruby/backend $ sudo gem install memcached --pre
Password:
Fetching: memcached-1.2.6.pre2.gem (100%)
Building native extensions.  This could take a while...
^CERROR:  Interrupted
bitbckt commented 13 years ago

Which interpreter are you seeing the encoding issue on? I assume 1.9.x?

The --pre handling is in Rubygems, not memcached. File a bug with that project.

ddebernardy commented 13 years ago

Which interpreter are you seeing the encoding issue on? I assume 1.9.x?

Yes

The --pre handling is in Rubygems, not memcached. File a bug with that project.

I would assume that, in their notorious arrogance, they'd redirect me to you saying "he's not doing it right". But oh well...

Anyway, since then I've added --no-ri --no-rdocs to a .gemrc file. It seems to be the (ignored?) standard. So safely close if you don't feel like dropping utf8 chars where appropriate.

avsej commented 13 years ago

My pull request #63 fixes this issue