mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Fix configuring third-party cache stores such as ActiveSupport::Cache::RedisStore
Broken in 8da30ad
.
This commit is contained in:
parent
03925dc26a
commit
4816e823e7
1 changed files with 1 additions and 1 deletions
|
@ -101,7 +101,7 @@ module ActiveSupport
|
||||||
# Obtains the specified cache store class, given the name of the +store+.
|
# Obtains the specified cache store class, given the name of the +store+.
|
||||||
# Raises an error when the store class cannot be found.
|
# Raises an error when the store class cannot be found.
|
||||||
def retrieve_store_class(store)
|
def retrieve_store_class(store)
|
||||||
require_relative "cache/#{store}"
|
require "active_support/cache/#{store}"
|
||||||
rescue LoadError => e
|
rescue LoadError => e
|
||||||
raise "Could not find cache store adapter for #{store} (#{e})"
|
raise "Could not find cache store adapter for #{store} (#{e})"
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in a new issue