Thin
Opened this issue · 2 comments
mfaughn commented
Restricting thin to be less than 1.7 is a real pain. The mailcatcher gem is, by a huge margin, the main client of this gem and it has no such restriction on thin...but you're effectively imposing one for it.
Is there some known issue with versions of thin >= 1.7?
sj26 commented
Yes, it doesn't work. If someone wanted to fix this so that it does, or switch to another websocket implementation, patches would be welcome. :-)
sj26 commented
I'd probably switch mailcatcher to https://github.com/faye/websocket-driver-ruby using https://github.com/faye/faye-websocket-ruby, it's pretty similar from this example: https://github.com/Joe-noh/sinatra-faye-websocket-example/blob/master/app.rb