{"action":"created","issue":{"url":"https://api.github.com/repos/SamSaffron/message_bus/issues/66","labels_url":"https://api.github.com/repos/SamSaffron/message_bus/issues/66/labels{/name}","comments_url":"https://api.github.com/repos/SamSaffron/message_bus/issues/66/comments","events_url":"https://api.github.com/repos/SamSaffron/message_bus/issues/66/events","html_url":"https://github.com/SamSaffron/message_bus/issues/66","id":127742713,"number":66,"title":"Failed to process message","user":{"login":"Vaporizd","id":7809744,"avatar_url":"https://avatars.githubusercontent.com/u/7809744?v=3","gravatar_id":"","url":"https://api.github.com/users/Vaporizd","html_url":"https://github.com/Vaporizd","followers_url":"https://api.github.com/users/Vaporizd/followers","following_url":"https://api.github.com/users/Vaporizd/following{/other_user}","gists_url":"https://api.github.com/users/Vaporizd/gists{/gist_id}","starred_url":"https://api.github.com/users/Vaporizd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vaporizd/subscriptions","organizations_url":"https://api.github.com/users/Vaporizd/orgs","repos_url":"https://api.github.com/users/Vaporizd/repos","events_url":"https://api.github.com/users/Vaporizd/events{/privacy}","received_events_url":"https://api.github.com/users/Vaporizd/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-01-20T17:43:17Z","updated_at":"2016-01-25T18:40:20Z","closed_at":null,"body":"Hi, \r\n\r\nI can't seem to get message_bus working. I get the following errors: https://gist.github.com/Vaporizd/398734438608301a39e0\r\n\r\nWhat I do is:\r\n\r\n```ruby\r\nafter_create :publish_entry\r\n\r\ndef publish_entry\r\n  MessageBus.publish('/entries', \"hello word\")\r\nend\r\n```\r\nI also can't seem to include the message-bus js lib\r\n```\r\n//= require message-bus\r\ncouldn't find file 'message-bus' with type 'application/javascript'\r\n```\r\n\r\nFull trace; https://gist.github.com/Vaporizd/f06bffade8b6490b338d\r\nI've tried with both the 1.1.1 version and the newest 2.0 beta versions. Nothing seems to get that going. I have redis running and puma \r\n\r\n```ruby\r\nrequire 'message_bus'\r\n# Change to match your CPU core count\r\nworkers 1 \r\n\r\n# Min and Max threads per worker\r\nthreads 1, 6\r\n\r\napp_dir = File.expand_path(\"../..\", __FILE__)\r\n\r\non_worker_boot do\r\n  MessageBus.after_fork\r\nend\r\n```\r\n\r\nAny help is appreciated, thanks."},"comment":{"url":"https://api.github.com/repos/SamSaffron/message_bus/issues/comments/174615662","html_url":"https://github.com/SamSaffron/message_bus/issues/66#issuecomment-174615662","issue_url":"https://api.github.com/repos/SamSaffron/message_bus/issues/66","id":174615662,"user":{"login":"Vaporizd","id":7809744,"avatar_url":"https://avatars.githubusercontent.com/u/7809744?v=3","gravatar_id":"","url":"https://api.github.com/users/Vaporizd","html_url":"https://github.com/Vaporizd","followers_url":"https://api.github.com/users/Vaporizd/followers","following_url":"https://api.github.com/users/Vaporizd/following{/other_user}","gists_url":"https://api.github.com/users/Vaporizd/gists{/gist_id}","starred_url":"https://api.github.com/users/Vaporizd/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Vaporizd/subscriptions","organizations_url":"https://api.github.com/users/Vaporizd/orgs","repos_url":"https://api.github.com/users/Vaporizd/repos","events_url":"https://api.github.com/users/Vaporizd/events{/privacy}","received_events_url":"https://api.github.com/users/Vaporizd/received_events","type":"User","site_admin":false},"created_at":"2016-01-25T18:40:20Z","updated_at":"2016-01-25T18:40:20Z","body":"I managed to fix all issues with just restarting vagrant. However I'm not sure what the cause was. And I do use Rails. Also this PR should clear things a bit. #67"}}