Rails + Dalli memcache gem: DalliError: No server available

后端 未结 6 1546
你的背包
你的背包 2021-02-12 11:59

Hi I\'m having trouble setting up my Rails project on my server because apache keeps complaining

DalliError: No server available.

I installed

6条回答
  •  走了就别回头了
    2021-02-12 12:08

    Use 127.0.0.1 instead of localhost should solve your (and mine) issue.

    config.cache_store = :dalli_store, '127.0.0.1:11211', { namespace: 'production' }

提交回复
热议问题