Rails 4.1 + Postgresql 9 + Puma + message_bus 2.0.0.beta
MessageBus Repo: https://github.com/SamSaffron/message_bus
In the master branch, you find the Jquery version:
$ git clone -b master https://github.com/ffabreti/message_bus-chat-example.git
In the angularJS branch, you will find the AngularJS version. MessageBus Jquery client was converted to AngularJS. There is no Jquery dependency. You can find a initial diff here.
git clone -b angularJS https://github.com/ffabreti/message_bus-chat-example.git
In the messageBusAjax-angular branch, you will find original message-bus.js and the new message-bus-ajax.js which completely eliminates the need for converting code to AngularJS inside the message-bus code. Including message-bus-ajax.js will provide a native javascript XMLHttpRequest instead of JQuery.ajax implementation.
git clone -b messageBusAjax-angular https://github.com/ffabreti/message_bus-chat-example.git
You may find more info here
$ bundle install
$ rake db:migrate
You may want to run the fake_production environment so that you get thread safe, puma threads, concurrency, etc
$ rails server -e fake_production
or $ passenger start -e fake_production
Open up 2 different browsers and point then to http://localhost:3000