From 4816e823e745adb1ef0d6a9d5268f8c61af98eca Mon Sep 17 00:00:00 2001 From: George Claghorn Date: Wed, 12 Jul 2017 09:25:03 -0400 Subject: [PATCH] Fix configuring third-party cache stores such as ActiveSupport::Cache::RedisStore Broken in 8da30ad. --- activesupport/lib/active_support/cache.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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