Rails 5.2.0 includes a Redis cache store out of the box, so you don't really need this anymore if you're generating a new Rails application. After a few years of being in "LTS Mode", we decided to stop maintaining this gem in favor of Rails' own Redis Cache Store.
redis-activesupport
provides a cache for ActiveSupport.
For guidelines on using our underlying cache store, see the main redis-store readme.
For information on how to use this library in a Rails app, see the documentation for redis-rails.
If, for some reason, you're using ActiveSupport::Cache
and not in a Rails app, read on to learn how to install/use this gem by itself!
# Gemfile
gem 'redis-activesupport'
If you are using redis-store with Rails, consider using the redis-rails gem instead. For standalone usage:
ActiveSupport::Cache.lookup_store :redis_store # { ... optional configuration ... }
gem install bundler
git clone git:https://github.com/redis-store/redis-activesupport.git
cd redis-activesupport
bundle install
bundle exec rake
If you are on Snow Leopard you have to run env ARCHFLAGS="-arch x86_64" bundle exec rake
2009 - 2013 Luca Guidi - https://lucaguidi.com, released under the MIT license