{"action":"created","issue":{"url":"https://api.github.com/repos/SamSaffron/message_bus/issues/57","labels_url":"https://api.github.com/repos/SamSaffron/message_bus/issues/57/labels{/name}","comments_url":"https://api.github.com/repos/SamSaffron/message_bus/issues/57/comments","events_url":"https://api.github.com/repos/SamSaffron/message_bus/issues/57/events","html_url":"https://github.com/SamSaffron/message_bus/issues/57","id":115427445,"number":57,"title":"Can not start puma when set MessageBus.after_fork on boot work","user":{"login":"embbnux","id":7036536,"avatar_url":"https://avatars.githubusercontent.com/u/7036536?v=3","gravatar_id":"","url":"https://api.github.com/users/embbnux","html_url":"https://github.com/embbnux","followers_url":"https://api.github.com/users/embbnux/followers","following_url":"https://api.github.com/users/embbnux/following{/other_user}","gists_url":"https://api.github.com/users/embbnux/gists{/gist_id}","starred_url":"https://api.github.com/users/embbnux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/embbnux/subscriptions","organizations_url":"https://api.github.com/users/embbnux/orgs","repos_url":"https://api.github.com/users/embbnux/repos","events_url":"https://api.github.com/users/embbnux/events{/privacy}","received_events_url":"https://api.github.com/users/embbnux/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-11-06T03:32:43Z","updated_at":"2015-11-06T21:00:37Z","closed_at":null,"body":"when I deploy my rails app in production with puma, puma socket cannot start if I add:\r\n```ruby\r\non_worker_boot do\r\n    MessageBus.after_fork\r\nend\r\n```\r\nanything wrong? Thank you\r\nlog:\r\n```ruby\r\n[11443] Puma starting in cluster mode...\r\n[11443] * Version 2.14.0 (ruby 2.2.3-p173), codename: Fuchsia Friday\r\n[11443] * Min threads: 4, max threads: 16\r\n[11443] * Environment: production\r\n[11443] * Process workers: 1\r\n[11443] * Phased restart available\r\n[11443] * Listening on unix:///tmp/app.sock\r\n[11443] * Daemonizing...\r\n```\r\nAng Nginx cannot connect to unix:///tmp/app.sock"},"comment":{"url":"https://api.github.com/repos/SamSaffron/message_bus/issues/comments/154536006","html_url":"https://github.com/SamSaffron/message_bus/issues/57#issuecomment-154536006","issue_url":"https://api.github.com/repos/SamSaffron/message_bus/issues/57","id":154536006,"user":{"login":"SamSaffron","id":5213,"avatar_url":"https://avatars.githubusercontent.com/u/5213?v=3","gravatar_id":"","url":"https://api.github.com/users/SamSaffron","html_url":"https://github.com/SamSaffron","followers_url":"https://api.github.com/users/SamSaffron/followers","following_url":"https://api.github.com/users/SamSaffron/following{/other_user}","gists_url":"https://api.github.com/users/SamSaffron/gists{/gist_id}","starred_url":"https://api.github.com/users/SamSaffron/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/SamSaffron/subscriptions","organizations_url":"https://api.github.com/users/SamSaffron/orgs","repos_url":"https://api.github.com/users/SamSaffron/repos","events_url":"https://api.github.com/users/SamSaffron/events{/privacy}","received_events_url":"https://api.github.com/users/SamSaffron/received_events","type":"User","site_admin":false},"created_at":"2015-11-06T21:00:36Z","updated_at":"2015-11-06T21:00:36Z","body":"Is anything in the logs? do you have redis installed?\n\nOn Fri, Nov 6, 2015 at 2:32 PM, Embbnux Ji <notifications@github.com> wrote:\n\n> when I deploy my rails app in production with puma, puma socket cannot\n> start if I add:\n>\n> on_worker_boot do\n>     MessageBus.after_forkend\n>\n> anything wrong? Thank you\n> log:\n>\n> [11443] Puma starting in cluster mode...\n> [11443] * Version 2.14.0 (ruby 2.2.3-p173), codename: Fuchsia Friday\n> [11443] * Min threads: 4, max threads: 16\n> [11443] * Environment: production\n> [11443] * Process workers: 1\n> [11443] * Phased restart available\n> [11443] * Listening on unix:///tmp/app.sock\n> [11443] * Daemonizing...\n>\n> Ang Nginx cannot connect to unix:///tmp/app.sock\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/SamSaffron/message_bus/issues/57>.\n>\n"}}