trouble using juggernaut as a rails plugin

徘徊边缘 提交于 2020-01-07 05:33:05

问题


i am developing a rails plugin, in which i want a model where server will notify updates to all the connected clients. for simplicity say, on certain event server will say 'hi there is an update' to all the clients.

i came across juggernaut plugin that uses web-sockets and have followed https://github.com/maccman/juggernaut_plugin/tree/c3e07a812341f93bb1f90c00b7a125524b07b80a

but its not working for me.

can any one help me figuring out what am i missing, simply to send an alerts to the clients.

or is there some simpler library or simpler way to get on with it?

any suggestions/comments will be appreciated.


回答1:


What about Faye? Here's a Railscasts screencast




回答2:


juggernaut_plugin hasn't been updated for three years. You want Juggernaut, the much more recently and recently-updated version. Try following the instructions for that.



来源:https://stackoverflow.com/questions/9432285/trouble-using-juggernaut-as-a-rails-plugin

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!