Lighthouse has a new layout.
Prefer the old one? Return to the old layout,
and switch back any time from the link at the top of each page.
This project is archived and is in readonly mode.
MemCacheStore shouldn't raise without memcache-client
#6497
Trying to use mem_cache_store with libmemcached (https://rubygems.org/gems/memcached)
is difficult because mem_cache_store raises a LoadError unless the
memcache-client gem is available. This isn't necessary because the
'memcached' gem provides a compatible API for devs who want a
faster interface to memcached, but we still have to have
memcache-client installed so ActiveSupport doesn't die.
Rails should also mention somewhere (the Guides?) to use dalli.
The memcache-client gem is no longer maintained, the dalli gem is
the successor and already has a AS cache store implementation
included with the gem.
I attached a patch that removes the re-raising of the
LoadError.
I second this patch. I'm also using the memcached gem and was
surprised when I was prompted to install memcache-client. I'm
currently avoiding the problem by simply having an empty
lib/memcache.rb file.