require 'memcached' class MemcacheAuth < Memcached def initialize(servers = nil, opts = {}) if !servers && ENV['MEMCACHE_SERVERS'] servers = ENV['MEMCACHE_SERVERS'].split(',') end super(servers, opts) end end