diff --git a/Gemfile b/Gemfile index abf4efd..4cd3b55 100644 --- a/Gemfile +++ b/Gemfile @@ -12,6 +12,10 @@ gem 'pg' # FIXME list here all actual dependencies (i.e. the ones in debian/control), # with their GEM names (not the Debian package names) +group :production do + gem 'dalli' +end + group :test do gem 'rspec' gem 'rspec-rails' diff --git a/Gemfile.lock b/Gemfile.lock index 179e1cf..df12cdf 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -56,6 +56,7 @@ GEM cucumber (>= 1.2.0) nokogiri (>= 1.5.0) rails (>= 3.0.0) + dalli (2.7.0) database_cleaner (1.2.0) diff-lcs (1.2.5) erubis (2.7.0) @@ -150,6 +151,7 @@ DEPENDENCIES capybara cucumber cucumber-rails + dalli database_cleaner fast_gettext pg diff --git a/config/environments/production.rb b/config/environments/production.rb index 8bb0e02..3356e9f 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -41,7 +41,7 @@ Noosfero::Application.configure do # config.logger = ActiveSupport::TaggedLogging.new(SyslogLogger.new) # Use a different cache store in production - config.cache_store = :mem_cache_store, "localhost" + config.cache_store = :dalli_store, "localhost" # Enable serving of images, stylesheets, and javascripts from an asset server # config.action_controller.asset_host = "http://assets.example.com" -- libgit2 0.21.2