mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
Merge pull request #29764 from georgeclaghorn/third-party-cache-store-config
Fix configuring third-party cache stores such as ActiveSupport::Cache::RedisStore
This commit is contained in:
commit
21344061dc
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+.
|
||||
# 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
|
||||
|
|
Loading…
Reference in a new issue