{"issue":{"state":"closed","pull_request":{"diff_url":null,"html_url":null,"patch_url":null},"milestone":null,"user":{"avatar_url":"https://secure.gravatar.com/avatar/e6c0baf61877208ce0b1380e9c54a444?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"e6c0baf61877208ce0b1380e9c54a444","url":"https://api.github.com/users/nilclass","login":"nilclass","id":104883},"labels":[],"assignee":null,"updated_at":"2011-11-16T13:00:54Z","comments":5,"closed_at":"2011-11-13T21:08:52Z","url":"https://api.github.com/repos/imanel/websocket-rack/issues/3","body":"This is being thrown, if you require 'rack/websocket' before loading 'thin'.\r\nI'm not sure, but I think the aliasing in the thin extension is going wrong.\r\n\r\nAnyway, solution is easy: first load thin, then load websocket-rack!\r\nNevertheless, this is the second time that I scooped through websocket-rack code to figure out what was wrong, so this issue is partly a reminder for myself :)\r\n","html_url":"https://github.com/imanel/websocket-rack/issues/3","number":3,"title":"Undefined method `backend' for nil:nilClass","id":2222878,"created_at":"2011-11-13T19:59:19Z"},"action":"created","comment":{"user":{"avatar_url":"https://secure.gravatar.com/avatar/00c5bb4f96b1094aec27674a810caae6?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"00c5bb4f96b1094aec27674a810caae6","url":"https://api.github.com/users/imanel","login":"imanel","id":36869},"updated_at":"2011-11-16T13:00:54Z","url":"https://api.github.com/repos/imanel/websocket-rack/issues/comments/2759109","body":"Then it's up to you to check if Thin is already loaded. I can't force loading Thin, because backend is selected by checking if Thin is loaded. If in future I will add new backends then all apps(including your) will just break because thin will stop being auto-loaded.\r\nI will mention in readme that you need first load thin before loading websocket-rack if you do custom setup. Thanks for mentioning it!","id":2759109,"created_at":"2011-11-16T13:00:54Z"}}