{"action":"created","issue":{"url":"https://api.github.com/repos/moove-it/sidekiq-scheduler/issues/69","labels_url":"https://api.github.com/repos/moove-it/sidekiq-scheduler/issues/69/labels{/name}","comments_url":"https://api.github.com/repos/moove-it/sidekiq-scheduler/issues/69/comments","events_url":"https://api.github.com/repos/moove-it/sidekiq-scheduler/issues/69/events","html_url":"https://github.com/moove-it/sidekiq-scheduler/issues/69","id":119576686,"number":69,"title":"Error running rake tasks","user":{"login":"juanibiapina","id":568764,"avatar_url":"https://avatars.githubusercontent.com/u/568764?v=3","gravatar_id":"","url":"https://api.github.com/users/juanibiapina","html_url":"https://github.com/juanibiapina","followers_url":"https://api.github.com/users/juanibiapina/followers","following_url":"https://api.github.com/users/juanibiapina/following{/other_user}","gists_url":"https://api.github.com/users/juanibiapina/gists{/gist_id}","starred_url":"https://api.github.com/users/juanibiapina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/juanibiapina/subscriptions","organizations_url":"https://api.github.com/users/juanibiapina/orgs","repos_url":"https://api.github.com/users/juanibiapina/repos","events_url":"https://api.github.com/users/juanibiapina/events{/privacy}","received_events_url":"https://api.github.com/users/juanibiapina/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-30T20:41:12Z","updated_at":"2015-12-01T11:06:03Z","closed_at":null,"body":"My redis connection is configured using \"config/initializers/sidekiq.rb\", reading from rails-config:\r\n\r\n```\r\nconnection = proc {\r\n  redis_from_url(Settings.sidekiq.redis.url)\r\n}\r\n\r\nSidekiq.configure_server do |config|\r\n  config.redis = ConnectionPool.new(size: 20, &connection)\r\nend\r\n```\r\n\r\nThis worked fine until I added sidekiq-scheduler. Now I get this error:\r\n\r\nRedis::CannotConnectError: Error connecting to Redis on 127.0.0.1:6379 (Errno::ECONNREFUSED)\r\n\r\nI don't even have redis running locally.\r\n\r\nIf I rename \"config/initializers/scheduler.rb\" to \"config/initializers/sidekiq_scheduler.rb\" (which is loaded after the sidekiq initializer), it gives a different bizarre error.\r\n\r\nAny information on load order for these guys or similar problems?"},"comment":{"url":"https://api.github.com/repos/moove-it/sidekiq-scheduler/issues/comments/160936431","html_url":"https://github.com/moove-it/sidekiq-scheduler/issues/69#issuecomment-160936431","issue_url":"https://api.github.com/repos/moove-it/sidekiq-scheduler/issues/69","id":160936431,"user":{"login":"elpic","id":138424,"avatar_url":"https://avatars.githubusercontent.com/u/138424?v=3","gravatar_id":"","url":"https://api.github.com/users/elpic","html_url":"https://github.com/elpic","followers_url":"https://api.github.com/users/elpic/followers","following_url":"https://api.github.com/users/elpic/following{/other_user}","gists_url":"https://api.github.com/users/elpic/gists{/gist_id}","starred_url":"https://api.github.com/users/elpic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/elpic/subscriptions","organizations_url":"https://api.github.com/users/elpic/orgs","repos_url":"https://api.github.com/users/elpic/repos","events_url":"https://api.github.com/users/elpic/events{/privacy}","received_events_url":"https://api.github.com/users/elpic/received_events","type":"User","site_admin":false},"created_at":"2015-12-01T11:06:03Z","updated_at":"2015-12-01T11:06:03Z","body":"Hi @juanibiapina, \r\n\r\nI will take a look at your issue."}}