diaspora/diaspora — comment on commit c4a451636953dbefecf5811479a8126fefe3944e
File:  line 0
By dmorley:

i tried this local a few weeks ago and it did not work for me. Just pulled this into production and it dies off quickly with:

./script/websocket_server.rb:67: private method `gsub' called for nil:NilClass (NoMethodError)
from /usr/lib64/ruby/gems/1.8/gems/em-websocket-0.3.5/lib/../lib/em-websocket/connection.rb:18:in `call'
from /usr/lib64/ruby/gems/1.8/gems/em-websocket-0.3.5/lib/../lib/em-websocket/connection.rb:18:in `trigger_on_open'
from /usr/lib64/ruby/gems/1.8/gems/em-websocket-0.3.5/lib/../lib/em-websocket/handler.rb:18:in `run'
from /usr/lib64/ruby/gems/1.8/gems/em-websocket-0.3.5/lib/../lib/em-websocket/connection.rb:106:in `dispatch'
from /usr/lib64/ruby/gems/1.8/gems/em-websocket-0.3.5/lib/../lib/em-websocket/connection.rb:63:in `receive_data'
from /usr/lib64/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
from /usr/lib64/ruby/gems/1.8/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
from ./script/websocket_server.rb:44