trouble using juggernaut as a rails plugin

645 views Asked by At

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.

2

There are 2 answers

2
mohamagdy On BEST ANSWER

What about Faye? Here's a Railscasts screencast

0
Veraticus On

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.