Topic: Newbie - ROR3 deploying to windows
I am very new to RoR development, most of my experience is in .NET . I am trying to deploy a ROR3 website onto a windows machine. After reading around I decided to try using Mongrel + Apache (is this the best setup?)
I struggled to find any up to date guides and eventually ran into problems. I installed the mongrel and mongrel_service gems and managed to start a few mongrel services using:-
mongrel_rails service::install –N mongrel_MyApp1 –p 3001 –e production –c c:\Sites\MyApp
mongrel_rails service::install –N mongrel_MyApp2 –p 3002 –e production –c c:\Sites\MyApp
mongrel_rails service::install –N mongrel_MyApp3 –p 3003 –e production –c c:\Sites\MyApp
However when I navigate to localhost:3001 in my web browser I cannot connect. When I launch my apache server I just get a 502 proxy error. I can see the services in windows and start and stop them.
I have setup my apache http-vhosts.config as follows
#Proxy balancer section (create one for each ruby app cluster)
ProxyPass / balancer://mongrel_cluster/
ProxyPassReverse / balancer://mongrel_cluster/
Any advice would be very helpful, is mongrel+apache the best setup for windows? What might I be doing wrong with my mongrel setup?