test your install by launching your server : redis-server
Add gem ‘redis’ to you GemFile, then run bundle install
Add config your cable.yml
# config/cable.yml
development:
adapter: redis
url: redis://localhost:6379/1
channel_prefix: your_app_development
test:
adapter: redis
url: redis://localhost:6379/1
channel_prefix: your_app_test
production:
adapter: redis
url: <%= ENV['REDIS_URL'] %>
channel_prefix: your_app_production
For production in need to add redis add-on
scalingo --app my-app addons-add redisredis-sandbox