Permalink
Browse files

Switch to Redis instead of Memcached

  • Loading branch information...
1 parent 78198bc commit 71947f69bda4d0392289f054bdc9a44ac1897506 @jschwindt committed Mar 21, 2012
Showing with 21 additions and 1 deletion.
  1. +2 −0 Gemfile
  2. +18 −0 Gemfile.lock
  3. +1 −1 config/environments/production.rb
View
2 Gemfile
@@ -29,6 +29,8 @@ gem 'has_scope'
gem 'cancan'
gem 'aasm'
+gem 'redis-rails'
+
gem 'sitemap_generator'
gem "watu_table_builder", :require => "table_builder"
View
18 Gemfile.lock
@@ -156,6 +156,23 @@ GEM
rdoc (3.12)
json (~> 1.4)
redcarpet (2.1.0)
+ redis (2.2.2)
+ redis-actionpack (3.2.2)
+ actionpack (= 3.2.2)
+ redis-rack (~> 1.4.0)
+ redis-store (~> 1.1.0)
+ redis-activesupport (3.2.2)
+ activesupport (= 3.2.2)
+ redis-store (~> 1.1.0)
+ redis-rack (1.4.1)
+ rack (= 1.4.1)
+ redis-store (~> 1.1.0)
+ redis-rails (3.2.2)
+ redis-actionpack (~> 3.2.2)
+ redis-activesupport (~> 3.2.2)
+ redis-store (~> 1.1.0)
+ redis-store (1.1.0)
+ redis (~> 2.2.0)
responders (0.8.0)
railties (~> 3.1)
riddle (1.5.1)
@@ -234,6 +251,7 @@ DEPENDENCIES
rails_best_practices
rake (= 0.9.3.beta.1)
redcarpet
+ redis-rails
sass-rails (~> 3.2.3)
sequel
shoulda
View
2 config/environments/production.rb
@@ -40,7 +40,7 @@
# config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new)
# Use a different cache store in production
- config.cache_store = :mem_cache_store
+ config.cache_store = :redis_store
# Enable serving of images, stylesheets, and JavaScripts from an asset server
# config.action_controller.asset_host = "http://assets.example.com"

0 comments on commit 71947f6

Please sign in to comment.