Closed anjain closed 8 years ago
It's likely that you'll need to specifically configure your Redis connection via the environment variables (i.e. REDIS_URL
) that Heroku's Redis integration gives you:
queue = SlackBotServer::RedisQueue.new(redis: Redis.new(url: ENV['REDIS_URL']))
Thanks man :)
queue = SlackBotServer::RedisQueue.new(redis: Redis.new) slack_remote = SlackBotServer::RemoteControl.new(queue: queue) slack_remote.add_bot('user-accounts-slack-api-token')
when i try to add_bot then above error comes on heroku but it is working fine in local please help