Joined 1/4/2018
vad2der said 12 months ago:

in the sidekiq.rb initializer

config.redis = {url: ENV['REDIS_PROVIDER']}

would be wrong as long as ENV['REDIS_PROVIDER'] = 'REDISTOGO_URL' as we see in your example. The correct one would be

config.redis = {url: ENV[ENV['REDIS_PROVIDER']]}

PS. thanks for the tutorial!

kobaltz PRO said 12 months ago:

Thanks vad2der, that is correct if we set the REDIS_PROVIDER to the string REDISTOGO_URL instead of the environment variable..