We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Hello there,
I'm trying to configure this gem, but I'm getting some errors.
Currently, this is my configuration (similar to the one found in the README):
config.action_dispatch.rack_cache = { metastore: ::Rack::Cache::MetaStore::Redis.new("#{ENV['REDIS_URL']}/1/metastore"), entitystore: ::Rack::Cache::EntityStore::Redis.new("#{ENV['REDIS_URL']}/1/entitystore") }
But I'm getting this error:
cache error: Unknown storage provider: #<Rack::Cache::MetaStore::Redis:0x0000557d22a306e8> /app/vendor/bundle/ruby/2.7.0/gems/rack-cache-1.13.0/lib/rack/cache/storage.rb:52:in `create_store' /app/vendor/bundle/ruby/2.7.0/gems/rack-cache-1.13.0/lib/rack/cache/storage.rb:18:in `resolve_metastore_uri' /app/vendor/bundle/ruby/2.7.0/gems/rack-cache-1.13.0/lib/rack/cache/context.rb:35:in `metastore' /app/vendor/bundle/ruby/2.7.0/gems/rack-cache-1.13.0/lib/rack/cache/context.rb:176:in `lookup' /app/vendor/bundle/ruby/2.7.0/gems/rack-cache-1.13.0/lib/rack/cache/context.rb:67:in `call!' /app/vendor/bundle/ruby/2.7.0/gems/rack-cache-1.13.0/lib/rack/cache/context.rb:52:in `call'
These are my gem versions: rack-cache (1.13.0) redis-rack-cache (2.2.1)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hello there,
I'm trying to configure this gem, but I'm getting some errors.
Currently, this is my configuration (similar to the one found in the README):
But I'm getting this error:
These are my gem versions:
rack-cache (1.13.0)
redis-rack-cache (2.2.1)
The text was updated successfully, but these errors were encountered: