lib/adapters/cachetastic_adapters_memcache.rb in cachetastic-1.3.0 vs lib/adapters/cachetastic_adapters_memcache.rb in cachetastic-1.3.1
- old
+ new
@@ -16,9 +16,10 @@
# type: file
# file: log/memcached.log
# servers:
# - 127.0.0.1:11211
class Cachetastic::Adapters::Memcache < Cachetastic::Adapters::Base
+ require 'memcache'
def setup
self.conn = MemCache.new(self.servers, self.store_options.merge({:namespace => self.namespace}))
self.version = self.get_version(self.name)
end
\ No newline at end of file