vad2der said over 6 years ago on Sidekiq on Production :

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!