aboutsummaryrefslogtreecommitdiffstats
path: root/activesupport
diff options
context:
space:
mode:
authorGeorge Claghorn <george@basecamp.com>2017-07-12 09:25:03 -0400
committerGeorge Claghorn <george@basecamp.com>2017-07-12 09:25:03 -0400
commit4816e823e745adb1ef0d6a9d5268f8c61af98eca (patch)
treeca6cfe14936d9f581e63349515523ed92cc9cf4e /activesupport
parent03925dc26a747075ff37660d1f0a060a8178bf66 (diff)
downloadrails-4816e823e745adb1ef0d6a9d5268f8c61af98eca.tar.gz
rails-4816e823e745adb1ef0d6a9d5268f8c61af98eca.tar.bz2
rails-4816e823e745adb1ef0d6a9d5268f8c61af98eca.zip
Fix configuring third-party cache stores such as ActiveSupport::Cache::RedisStore
Broken in 8da30ad.
Diffstat (limited to 'activesupport')
-rw-r--r--activesupport/lib/active_support/cache.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/activesupport/lib/active_support/cache.rb b/activesupport/lib/active_support/cache.rb
index 865210e5f5..e9ed60398b 100644
--- a/activesupport/lib/active_support/cache.rb
+++ b/activesupport/lib/active_support/cache.rb
@@ -101,7 +101,7 @@ module ActiveSupport
# Obtains the specified cache store class, given the name of the +store+.
# Raises an error when the store class cannot be found.
def retrieve_store_class(store)
- require_relative "cache/#{store}"
+ require "active_support/cache/#{store}"
rescue LoadError => e
raise "Could not find cache store adapter for #{store} (#{e})"
else