On Sat, Aug 2, 2008 at 6:22 PM, Dean Radcliffe <[EMAIL PROTECTED]> wrote:
> Really tired of 30 second startup times to run Test::Unit tests, I would > give my left pinky for a solution to running spec_server on windows. Is > there some monkey patch that can avoid daemonizing the process > altogether (Im fine if it runs as any kind of process at all). TIA. > Error below - I have open3 and win32-process already but no dice. > > Dean > > > rake spec:server:start > (in C:/ChessOnRails/trunk) > Starting up spec server. > Loading Rails environment > Ready > script/spec_server:81:in `fork': fork() function is unimplemented on > this machine (NotImplementedErr > or) > from script/spec_server:81:in `daemonize' > from script/spec_server:113 > > No fork() love for us Windows users, try putting this into a batch file (like spec_server.bat) @echo off start "spec_server" /min ruby.exe script\spec_server One problem is that spec_server is not trapping Ctrl-C, so you will require to use Ctrl-break to stop the minized spec_server. HTH, -- Luis Lavena AREA 17 - Human beings, who are almost unique in having the ability to learn from the experience of others, are also remarkable for their apparent disinclination to do so. Douglas Adams
_______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users