Started GET "/rucaptcha/" for 127.0.0.1 at 2017-01-25 22:51:50 +0800
Processing by RuCaptcha::CaptchaController#index as HTML
You don't have dalli installed in your application. Please add it to your Gemfile and run bundle install
Completed 500 Internal Server Error in 82ms (ActiveRecord: 0.0ms)
RuntimeError (Could not find cache store adapter for mem_cache_store (cannot load such file -- dalli)):
全部按照官方的配置进行,但是在启动的时候后台报没有安装dalli。
日志如下:
Started GET "/rucaptcha/" for 127.0.0.1 at 2017-01-25 22:51:50 +0800 Processing by RuCaptcha::CaptchaController#index as HTML You don't have dalli installed in your application. Please add it to your Gemfile and run bundle install Completed 500 Internal Server Error in 82ms (ActiveRecord: 0.0ms)
RuntimeError (Could not find cache store adapter for mem_cache_store (cannot load such file -- dalli)):
activesupport (5.0.0) lib/active_support/cache.rb:106:in
rescue in retrieve_store_class' activesupport (5.0.0) lib/active_support/cache.rb:104:in
retrieve_store_class' activesupport (5.0.0) lib/active_support/cache.rb:60:inlookup_store' rucaptcha (2.0.0) lib/rucaptcha/cache.rb:7:in
cache' rucaptcha (2.0.0) lib/rucaptcha/controller_helpers.rb:22:ingenerate_rucaptcha' rucaptcha (2.0.0) app/controllers/ru_captcha/captcha_controller.rb:6:in
index' actionpack (5.0.0) lib/action_controller/metal/basic_implicit_render.rb:4:insend_action' actionpack (5.0.0) lib/abstract_controller/base.rb:188:in
process_action'