Search code examples
ruby-on-railswebsocketjuggernaut

trouble using juggernaut as a rails plugin


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.


Solution

  • What about Faye? Here's a Railscasts screencast