diff --git a/Gemfile b/Gemfile index ecf2f03f..8d1fd6d2 100644 --- a/Gemfile +++ b/Gemfile @@ -10,6 +10,7 @@ gem 'coffee-rails' gem 'compass-rails', github: 'milgner/compass-rails', ref: '1749c06f15dc4b058427e7969810457213647fb8' gem 'compass-h5bp' gem 'coveralls', require: false +gem 'dalli' gem 'detect_language' gem 'devise' gem 'differ' @@ -24,6 +25,7 @@ gem 'httparty' gem 'isbn_validation' gem 'jquery-rails' gem 'json' +gem 'kgio' gem 'meta-tags', require: 'meta_tags' gem 'mini_magick' gem 'nokogiri' diff --git a/Gemfile.lock b/Gemfile.lock index 292252b7..f879526e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -117,6 +117,7 @@ GEM crack (0.4.1) safe_yaml (~> 0.9.0) daemons (1.1.9) + dalli (2.6.4) database_cleaner (1.0.1) debug_inspector (0.0.2) detect_language (1.0.3) @@ -402,6 +403,7 @@ DEPENDENCIES compass-h5bp compass-rails! coveralls + dalli database_cleaner (= 1.0.1) detect_language devise @@ -429,6 +431,7 @@ DEPENDENCIES isbn_validation jquery-rails json + kgio launchy libnotify meta-tags diff --git a/config/environments/production.rb b/config/environments/production.rb index 61bc2d75..c0566c75 100644 --- a/config/environments/production.rb +++ b/config/environments/production.rb @@ -66,4 +66,6 @@ config.active_support.deprecation = :notify config.eager_load = true + + config.cache_store = :dalli_store end diff --git a/config/environments/staging.rb b/config/environments/staging.rb index b1b38f3c..0e344dec 100644 --- a/config/environments/staging.rb +++ b/config/environments/staging.rb @@ -69,4 +69,6 @@ config.active_support.deprecation = :notify config.eager_load = true + + config.cache_store = :dalli_store end