stimulus_reflex icon indicating copy to clipboard operation
stimulus_reflex copied to clipboard

docs recommend hiredis gem along with incompatible redis version

Open robinboening opened this issue 8 months ago • 0 comments

The current docs at https://docs.stimulusreflex.com/appendices/deployment.html#use-redis-as-your-cache-store recommend installing redis >= 4.0.

gem "redis", ">= 4.0", require: ["redis", "redis/connection/hiredis"]
gem "hiredis"

This allows redis 5.x which doesn't include redis/connection/hiredis anymore and therefore breaks.

From what I understand redis-client (redis dependency) works together with a gem called hiredis-client which is included in the redis-client repository on github: https://github.com/redis-rb/redis-client/tree/master/hiredis-client

What is the recommended solution?

robinboening avatar Jun 10 '24 07:06 robinboening