From: "Sven C. Koehler" Date: 2009-04-05T02:50:42+09:00 Subject: Re: [ANN] Localmemcache-0.2.0: The beauty of memcached. For local data. Blazingly fast. On Sun, Apr 05, 2009 at 01:36:09AM +0900, Michael Fellinger wrote: > On Tue, 31 Mar 2009 08:17:45 +0900 > "Sven C. Koehler" wrote: > > require 'localmemcache' > > $lm = LocalMemCache.new :namespace => "viewcounters" > > $lm[:foo] = 1 > > $lm[:foo] > > $lm.delete(:foo) > > I tried that, but $lm[:foo] always returned nil. > That's on ArchLinux, both 32 and 64bit. Hmm... Can you see the namespace in /var/tmp/localmemcache/ ? Can you see the key in $lm.keys()? Does ``du -h /var/tmp/localmemcache/viewcounters.lmc'' show that there's content in the file? Best, Sven