Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP


How to specify configuration when using ENV? #285

jjb opened this Issue · 1 comment

2 participants


The readme says to specify the configuration like this:

config.cache_store = :dalli_store, '', '',
  { :namespace => NAME_OF_RAILS_APP, :expires_in =>, :compress => true }

What about when hosting on Heroku where the servers are specified in ENV, how can the other options be specified? Put nil for the servers? :dalli_store, nil, {foo:bar}

I'll make a PR for the readme after I figure this out... Thanks!

I'm on rails 3.2

@mperham mperham closed this
@jjb jjb referenced this issue from a commit in jjb/dalli
@jjb jjb docs for config alongside ENV["MEMCACHE_SERVERS"]
documentation addressing question in #285
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.