Browse files

Using one memcached client gem. This removes an issue

whereby users who have the memcached gem were getting
errors for a missing `MemCache` constant. Evan has
now moved all dependencies to be packaged with the
"memcached" gem which makes it not only the fastest 
ruby memcached client but realistic to install too.

Signed-off-by: Yehuda Katz <>
  • Loading branch information...
1 parent 463e10e commit 8a3d61df6d789674b29e7bf7e8dcad334714e799 @benschwarz benschwarz committed with Aug 6, 2009
Showing with 2 additions and 4 deletions.
  1. +2 −4 lib/moneta/memcache.rb
@@ -1,9 +1,7 @@
require "memcached"
rescue LoadError
- require "memcache"
-rescue LoadError
- puts "You need the memcache gem to use the Memcache moneta store"
+ puts "You need the memcached gem to use the Memcache moneta store"
@@ -12,7 +10,7 @@ class Memcache
include Defaults
def initialize(options = {})
- @cache =, options)
+ @cache =, options)
def key?(key)

0 comments on commit 8a3d61d

Please sign in to comment.