undefined method `incr' for <MemCache: 1 servers, 1 buckets

Eric Hodel drbrain at segment7.net
Mon Dec 25 23:37:02 UTC 2006


On Dec 25, 2006, at 05:37, andrew at flypublishing.com wrote:

> undefined method `incr' for <MemCache: 1 servers, 1 buckets, ns:
> "myName", ro: false>:MemCache
>
> Hello, I'm using the Ruby API (memcache not Ruby-MemCache) and I keep
> getting these undefined method errors for certain functions.  The
> "set" function works fine, as does the [key] get function, but 'incr'
> and 'add' both give the error above.  Any ideas?  Thanks.

I've got some incr code floating around from a fork that I haven't  
merged.

-- 
Eric Hodel - drbrain at segment7.net - http://blog.segment7.net

I LIT YOUR GEM ON FIRE!



More information about the memcached mailing list