Redis stores for Ruby frameworks
Redis Store provides a full set of stores (Cache, I18n, Session, HTTP Cache) for modern Ruby frameworks like: Ruby on Rails, Sinatra, Rack, Rack::Cache and I18n. It supports object marshalling, timeouts, single or multiple nodes, and namespaces.
Please check the README file of each gem for usage and installation guidelines.
Option 1: Homebrew
MacOS X users should use Homebrew to install Redis:
brew install redis
Option 2: From Source
Download and install Redis from the download page and follow the instructions.
git clone git://github.com/redis-store/redis-store.git cd redis-store gem install bundler bundle exec rake
If you are on Snow Leopard you have to run
env ARCHFLAGS="-arch x86_64" ruby ci/run.rb
The redis-store family of gems uses Semantic Versioning, meaning gems depending on redis-store can be reliably inclusive of any version between the current and the next major. We recommend the following dependency in your library's gemspec:
s.add_dependency 'redis-store', '>= 1.4', '< 2'
2009 - 2013 Luca Guidi - http://lucaguidi.com, released under the MIT license.