arthurnn / memcached

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

Fixes to get Rubinius running clean and green #65

Closed evanphx closed 13 years ago

evanphx commented 13 years ago

The raw String creation hack is quite that, and thus doesn't work on Rubinius, so go about it the normal way.

@not_found seems to be not set in the normal case, which is odd. That's fixed.

And Marshal.load raises TypeError when the stream is invalid, not ArgumentError.