{"action":"closed","issue":{"url":"https://api.github.com/repos/phstc/shoryuken/issues/452","repository_url":"https://api.github.com/repos/phstc/shoryuken","labels_url":"https://api.github.com/repos/phstc/shoryuken/issues/452/labels{/name}","comments_url":"https://api.github.com/repos/phstc/shoryuken/issues/452/comments","events_url":"https://api.github.com/repos/phstc/shoryuken/issues/452/events","html_url":"https://github.com/phstc/shoryuken/issues/452","id":285158272,"number":452,"title":"Shoryuken with Fake SQS and Rails: No worker found","user":{"login":"shiroyu","id":34948623,"avatar_url":"https://avatars0.githubusercontent.com/u/34948623?v=4","gravatar_id":"","url":"https://api.github.com/users/shiroyu","html_url":"https://github.com/shiroyu","followers_url":"https://api.github.com/users/shiroyu/followers","following_url":"https://api.github.com/users/shiroyu/following{/other_user}","gists_url":"https://api.github.com/users/shiroyu/gists{/gist_id}","starred_url":"https://api.github.com/users/shiroyu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/shiroyu/subscriptions","organizations_url":"https://api.github.com/users/shiroyu/orgs","repos_url":"https://api.github.com/users/shiroyu/repos","events_url":"https://api.github.com/users/shiroyu/events{/privacy}","received_events_url":"https://api.github.com/users/shiroyu/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2017-12-29T21:33:01Z","updated_at":"2017-12-29T23:20:24Z","closed_at":"2017-12-29T23:20:23Z","author_association":"NONE","body":"Hi. I'm setting the gem with Ruby on Rails 5.1 (Ruby 2.4.1) and [fake_sqs](https://github.com/iain/fake_sqs) following the way.\r\n\r\n1. following docs https://github.com/phstc/shoryuken/wiki/Getting-Started and https://github.com/phstc/shoryuken/wiki/Rails-Integration-Active-Job\r\n2. add \"fake_sqs\" gem\r\n3. create \"default.fifo\" for \"fake_sqs\"\r\n4. run Shoryuken and \"fake_sqs\"\r\n5. enqueue a job using ActiveJob (run `SampleJob.perform_later(\"sample\")` )\r\n\r\nIt is possible to enqueue, but I can't make it work completely. I'm receiving the same messages all time...\r\n\r\n```\r\n2017-12-29T21:17:58Z 1 TID-xy8ws ERROR: No worker found for default.fifo\r\n2017-12-29T21:18:03Z 1 TID-xy8ws ERROR: No worker found for default.fifo\r\n2017-12-29T21:18:24Z 1 TID-xy8ws ERROR: No worker found for default.fifo\r\n2017-12-29T21:18:34Z 1 TID-xy8ws ERROR: No worker found for default.fifo\r\n2017-12-29T21:18:34Z 1 TID-xxtpk ERROR: No worker found for default.fifo\r\n2017-12-29T21:18:34Z 1 TID-y1o1k ERROR: No worker found for default.fifo\r\n```\r\n\r\nOf course, use `-R` option to run Shoryuken like the following and use `queue_as` in job files (already read #410), also try to use a standalone worker instead of Active Job, but it does not work.\r\n\r\n```bash\r\n$ bundle e shoryuken -R -C config/shoryuken.yml\r\n```\r\n\r\n```ruby\r\nclass SampleJob < ActiveJob::Base\r\n  queue_as \"default.fifo\"\r\n\r\n  def perform(arg)\r\n    ...\r\n  end\r\nend\r\n```\r\n\r\nAny suggestion of what what I'm doing wrong?"}}
{"actor":{"display_login":"shiroyu"}}