Re: Re: Re: Memcache

Jeffrey L. Taylor
Tue, 20 Jul 2010 13:37:10 -0000

Quoting Yani Yen
<lists-fsXkhYbjdPsEEoCn2XhGlw@public.gmane.org>:
> Forgot to mention :
>
> I had the configuration :
> config.cache_store = :mem_cache_store
> in my specific environment file.
> Still i was getting the above mentioned error
>
>
> Yani Yen wrote:
> > Hi,
> >
> > What i did in my environment.rb file was created an instance of
memcache
> > and assign it to a constant:
> >
> > CACHE = MemCache.new(''127.0.0.1'')
> >
> > and then in my code something like this:
[snip]

Okay, that makes it clearer to me.  I think you are starting two instances of
the cache client and the second one fails because the first is already present
and running.  Try with just the

config.cache_store = :mem_cache_store

and comment out the rest.

Jeffrey