Ruby How to running faye with Passenger?

kee · 2014年03月02日 · 最后由 dddd1919 回复于 2014年03月04日 · 2572 次阅读

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')
需要 登录 后方可回复, 如果你还没有账号请 注册新账号