What's the best way to integrate a NodeJS app into an existing Rails app?
Rails app: http://www.rails.app
Nodejs app: http://node.rails.app or even http://www.rails.app/node
23-09-2010: After searching for some time, I think an approach would be to have 2 separate services:
- Rack (Rails) service, which would host the rails application.
- NodeJS service for the realtime component.
So, I guess what my question is aimed to, is server management: How can I properly configure a server to host the main app via any requests to http://www.rails.app/* but dedicate http://node.rails.app or http://www.rails.app/node to the nodejs component?