Railsters: Having become a total expert on Ajax over the last couple weeks, the time has come to graduate to Juggernaut.
(Did you know 95% of everyone in the world has Flash installed?;) So I install Juggernaut, just like http://juggernaut.rubyforge.org/install.html sez to, and the first problem is script/push_server can't see the json that I just gem-ed in. So I edit it and require the complete path. Then I edit config/juggernaut_config.yml like this: PUSH_PORT: "4430" PUSH_HOST: "0.0.0.0" PUSH_HELPER_HOST: "192.168.1.103" PUSH_SECRET: "4815162342change_me" CROSSDOMAIN: "http://192.168.1.103:3000/crossdomain.xml" And I add the chat example to my site. The command flash_plugin generates HTML that doesn't reflect the values in the configuration file, so I copy the generated HTML back into the index.rhtml file, comment out the flash_plugin line, and edit the fields manually. Then I get the following results. The browser (Firefox on Kubuntu, or IE7 on you-know-what) sez "You have been connected". I write a little chat into the chat edit field, and tap Enter or click the Add button, and the chat just disappears. It doesn't go into the ul#chat_data that it's supposed to. It also doesn't go into log/push_server.log. That only contains lines like: Unsubscribed from channels: Closed listen request from ip: So how to turn up the logging level to something relevant? And how to, uh, chat with the sample application? (No, I read the FAQ, and no firewall blocks my server and client, etc...) -- Phlip http://www.greencheese.us/ZeekLand <-- NOT a blog!!! --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Spinoffs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/rubyonrails-spinoffs?hl=en -~----------~----~----~----~------~----~------~--~---
