当我在 developent.rb 中使用此配置在本地启动 rails 服务器(rails 5.2.0,ruby 2.5.1)时
config.action_controller.perform_caching = true
config.cache_store = :redis_cache_storage
安装了gem redis '4.0.1'
我有这个错误:
Traceback(最近一次通话最后一次)
.rvm/gems/ruby-2.5.1@rails-test/gems/activesupport-5.2.0/lib/active_support/cache.rb:109:in `rescue in retrieve_store_class': Could not find cache store adapter for redis_cache_storage (cannot load such file -- active_support/cache/redis_cache_storage) (RuntimeError)
有任何想法吗?