lib/rails-env.rb in rails-env-1.0.6 vs lib/rails-env.rb in rails-env-1.0.7

- old
+ new

@@ -29,9 +29,14 @@ propagate(:active_job, "::ActiveJob::Base") propagate(:active_record, "::ActiveRecord::Base") propagate(:time_zone, "::Time", :zone) propagate_autoload_paths propagate_i18n + propagate_cache_store + end + + def self.propagate_cache_store + Rails.cache = ActiveSupport::Cache.lookup_store(config.cache_store) end def self.propagate_i18n I18n.available_locales = (config.i18n.available_locales || []) .compact