简体   繁体   中英

`require': cannot load such file — rack/cache/entity_store (LoadError)

After adding redis cache gems in my app

gem 'redis'
gem 'redis-namespace'
gem 'redis-rails'
gem 'redis-rack-cache'

After installing that GEM I'm getting the following error.

`require': cannot load such file -- rack/cache/entity_store (LoadError)

How can I resolve this, Any idea ?

Based on this like , try using rack-cache version > 1.6.0

Add the following to your gem file:

gem 'rack-cache', '~> 1.6.1'

then run

bundle update rack-cache

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM