danielwanja / flexonrails

Code samples for the Flex on Rais book.

This URL has Read+Write access

Daniel Wanja (author)
Sat May 02 20:15:30 -0700 2009
commit  01b6430e41a567e9d28fdce016f959223f7a0fa3
tree    d6750b24a9a85b5d4e3f2945d144a39d3bc4326e
parent  78729ee15cf582c2b2b5f1c879ed894226d5c403
flexonrails / 20_Server_Push_with_Juggernaut
name age message
..
file README Loading commit data...
directory flex/
directory rails/
20_Server_Push_with_Juggernaut/README
This is the code used for chapter 20 - Server Push with Juggernaut.

On the Rails side you will need to install the follow gems

$ sudo gem install json
$ sudo gem install eventmachine
$ sudo gem install juggernaut

Install the juggernaut plugin
$ ./script/plugin install git://github.com/maccman/juggernaut_plugin.git

Configure and start juggernaut

$ juggernaut -g config/juggernaut.yml
$ juggernaut -c config/juggernaut.yml

Start Rails: ./script/server

On the Flex side the main application is IM.mxml and is a simplistic chat client.