Skip to content

liupeng/redis-store

 
 

Repository files navigation

Redis stores for Ruby frameworks

Redis Store provides a full set of stores (Cache, I18n, Session, HTTP Cache) for all the modern Ruby frameworks like: Ruby on Rails, Sinatra, Rack, Rack::Cache and I18n. It natively supports object marshalling, timeouts, single or multiple nodes and namespaces.

Please check the README file of each gem, to be informed about the usage.

Redis Installation

Option 1: Homebrew

MacOS X users should use Homebrew to install Redis:

brew install redis

Option 2: From Source

Download and install Redis from http://redis.io

wget http://redis.googlecode.com/files/redis-2.4.5.tar.gz
tar -zxf redis-2.4.5.tar.gz
mv redis-2.4.5 redis
cd redis
make

Build Status

Build Status

Running tests

git clone git://github.com/jodosha/redis-store.git
cd redis-store
gem install bundler --pre # required version: 1.1.rc
ruby ci/run.rb

If you are on Snow Leopard you have to run env ARCHFLAGS="-arch x86_64" ruby ci/run.rb

Copyright

(c) 2009 - 2011 Luca Guidi - http://lucaguidi.com, released under the MIT license

About

Namespaced Rack::Session, Rack::Cache, I18n and cache Redis stores for Ruby web frameworks

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 100.0%