redis-rack

Redis stores for Rack

This project is maintained by redis-store

Redis stores for Rack

redis-rack provides a Redis backed session store Rack. See the main redis-store readme for general guidelines.

Installation

# Gemfile

gem 'redis-rack'

Usage

If you are using redis-store with Rails, consider using the redis-rails gem instead. For standalone usage:

# config.ru
require 'rack'
require 'rack/session/redis'

use Rack::Session::Redis

Running tests

gem install bundler
git clone git://github.com/redis-store/redis-rack.git
cd redis-rack
bundle install
bundle exec rake

If you are on Snow Leopard you have to run env ARCHFLAGS="-arch x86_64" bundle exec rake

Copyright

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