Fix configuring third-party cache stores such as ActiveSupport::Cache::RedisStore

Broken in 8da30ad.
This commit is contained in:
George Claghorn 2017-07-12 09:25:03 -04:00
parent 03925dc26a
commit 4816e823e7

@ -101,7 +101,7 @@ def retrieve_cache_key(key)
# 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