Install and configure dalli for staging and production environments

This commit is contained in:
Rohan Mitchell
2014-07-04 12:07:14 +10:00
parent 8b67fc4d61
commit f8572db683
4 changed files with 5 additions and 2 deletions

View File

@@ -32,6 +32,7 @@ gem "active_model_serializers"
gem 'oj'
gem 'deface', :github => 'spree/deface', :ref => '1110a13'
gem 'paperclip'
gem 'dalli'
gem 'geocoder'
gem 'gmaps4rails'
gem 'spinjs-rails'

View File

@@ -206,6 +206,7 @@ GEM
compass (>= 0.12.2, < 0.14)
crack (0.4.1)
safe_yaml (~> 0.9.0)
dalli (2.7.2)
database_cleaner (0.7.1)
db2fog (0.8.0)
activerecord (~> 3.0)
@@ -507,6 +508,7 @@ DEPENDENCIES
comfortable_mexican_sofa
compass-rails
custom_error_message!
dalli
database_cleaner (= 0.7.1)
db2fog
debugger-linecache

View File

@@ -37,7 +37,7 @@ Openfoodnetwork::Application.configure do
# config.logger = SyslogLogger.new
# Use a different cache store in production
# config.cache_store = :mem_cache_store
config.cache_store = :dalli_store
# Enable serving of images, stylesheets, and JavaScripts from an asset server
# config.action_controller.asset_host = "http://assets.example.com"

View File

@@ -37,7 +37,7 @@ Openfoodnetwork::Application.configure do
# config.logger = SyslogLogger.new
# Use a different cache store in production
# config.cache_store = :mem_cache_store
config.cache_store = :dalli_store
# Enable serving of images, stylesheets, and JavaScripts from an asset server
# config.action_controller.asset_host = "http://assets.example.com"