2011-09-19 104 views
0

前言我是Ruby新手。Ruby on Heroku Memcache錯誤

當我嘗試用內存緩存在Heroku上運行我的應用程序,我得到以下錯誤:

/app/.bundle/gems/ruby/1.9.1/gems/activesupport-3.1.0/lib/active_support /cache.rb:65:in`rescue in lookup_store':無法找到緩存存儲適配器爲memcached_store(沒有這樣的文件加載 - active_support /緩存/ memcached_store)(RuntimeError)

有沒有人知道這意味着什麼?我爲memcache添加了heroku插件。

+0

你的gem文件中有'gem'dalli'#memcached'嗎? –

+0

你可以發佈你的Gemfile嗎?你爲什麼使用'memcache_store'而不是'dalli_store'? – dexter

+0

我試了兩次,並得到了這個相同的錯誤,所以這就是爲什麼我去memcache。我會再嘗試。 –

回答