Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

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

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
lib
spec
.gitignore
MIT-LICENSE
README.textile
Rakefile
redis-rails.gemspec

README.textile

Redis store for Rails

Installation

Download and install Redis from http://code.google.com/p/redis/

wget http://redis.googlecode.com/files/redis-0.091.tar.gz tar -zxvf redis-0.091.tar.gz cd redis-0.091 make

Install the gems

sudo gem install ezmobius-redis-rb -s http://gems.github.com sudo gem install jodosha-redis-rails -s http://gems.github.com

How to use with Rails

In your configuration files:

config.gem “jodosha-redis-rails”, :source => “http://gems.github.com”, :lib => “redis-rails” require “redis-rails” # HACK Rails tries to instantiate cache first, then load configured gems config.cache_store = :redis_store

Start Redis server, then your application.

Copyright

© 2009 Luca Guidi – http://lucaguidi.com, released under the MIT license

Something went wrong with that request. Please try again.