Why are you using FastCGI for development mode? What’s wrong with
WEBrick or, at most, CGI? Doesn’t development against FastCGI force you
to restart servers or processes a whole lot more than you’d otherwise
If you don’t need FastCGI for development, your problem disappears
because Windows ignores it under those circumstances and you can simply
set it to the Unixy path on both platforms.
If you’ve got a good reason for doing development against FCGI, I
suppose you could have a second dispatch.fcgi called somthing else (e.g.
dispatch-win32.fcgi) and refer to that in the webserver conf on your
windows boxes and refer to the original one on the Unixy boxes. No?
Robert D. wrote:
An interesting problem, I am developing on Windows, another developer is
using Unix, and our app and svn repository are running on a Linux box.
We need an easy way to not keep breaking our app and each others
development environs when we check in the code. The piece in question is
the dispatch.fcgi. The path to ruby is (obviously) different in Windows
and Unix. Has anyone run into this and what do you do? Thanks.