README.md in redis-store-0.3.8 vs README.md in redis-store-0.3.9
- old
+ new
@@ -2,19 +2,19 @@
## Installation
Download and install Redis from [http://code.google.com/p/redis/](http://code.google.com/p/redis/)
- curl -OL http://redis.googlecode.com/files/redis-1.02.tar.gz
- tar -zxvf redis-1.02.tar.gz
- mv redis-1.02 redis
+ curl -OL http://redis.googlecode.com/files/redis-1.2.5.tar.gz
+ tar -zxvf redis-1.2.5.tar.gz
+ mv redis-1.2.5 redis
cd redis
make
Install the gems
- sudo gem install redis-rb redis-store
+ sudo gem install redis redis-store
## Cache store
Provides a cache store for your Ruby web framework of choice.
@@ -24,11 +24,11 @@
require "redis-store"
config.cache_store = :redis_store
### Merb
- dependency "redis-store", "0.3.7"
+ dependency "redis-store", "0.3.9"
dependency("merb-cache", merb_gems_version) do
Merb::Cache.setup do
register(:redis, Merb::Cache::RedisStore, :servers => ["127.0.0.1:6379"])
end
end
@@ -56,16 +56,16 @@
use Rack::Session::Redis
run Application.new
### Rails
- config.gem "redis-store", :source => "http://gemcutter.org", :lib => "redis-store"
- ActionController::Base.session_store = Rack::Session::Redis
+ config.gem "redis-store"
+ ActionController::Base.session_store = :redis_session_store
### Merb
- dependency "redis-store", "0.3.7"
+ dependency "redis-store", "0.3.9"
Merb::Config.use do |c|
c[:session_store] = "redis"
end
Merb::BootLoader.before_app_loads do
Merb::SessionContainer.subclasses << "Merb::RedisSession"
@@ -101,15 +101,15 @@
## Running specs
gem install jeweler bundler
git clone git://github.com/jodosha/redis-store.git
cd redis-store
- gem bundle
+ bundle install
rake dtach:install
rake redis:install
rake
-If you are on **Snow Leopard** you have to run `env ARCHFLAGS="-arch x86_64" gem bundle`
+If you are on **Snow Leopard** you have to run `env ARCHFLAGS="-arch x86_64" bundle install`
## Copyright
-(c) 2009 Luca Guidi - [http://lucaguidi.com](http://lucaguidi.com), released under the MIT license
+(c) 2010 Luca Guidi - [http://lucaguidi.com](http://lucaguidi.com), released under the MIT license