[Ruby] memcache-client issue
Joe Van Dyk
joevandyk at gmail.com
Thu Oct 5 14:01:06 PDT 2006
Hi,
So, playing around with memcache. Installed the memcached-client gem.
Started up a memcached server on the localhost.
I created a MemCache object and tried to set some data in it. I got
an error about nil not having a sychrnoized method on line 189 of
/usr/lib/ruby/gems/1.8/gems/memcache-client-1.1.0/lib/memcache.rb.
I didn't turn on the multithread attribute. From looking at the code,
it looks like it doesn't check to see if multithread is on before
using the @mutex variable. I guess it should, right?
More information about the Ruby
mailing list