Ruby How to running faye with Passenger?

kee · March 02, 2014 · Last by dddd1919 replied at March 04, 2014 · 2572 hits

https://github.com/faye/faye-websocket-ruby 查到

You do not need any special configuration to make faye-websocket work, it should work out of the box on Passenger provided you use at least Passenger 4.0.

You do not need any special configuration, 这这...要怎么搞(以 rubychina 代码为例子)?

  • 更改 config.yml 的 yafe_server 为 80 口?
  • 删除 faye_server/config.ru 里的 Faye::WebSocket.load_adapter('thin')
You need to Sign in before reply, if you don't have an account, please Sign up first.