From: "Daniel Schömer" Date: 2008-02-23T19:05:06+09:00 Subject: Re: Nested Rails Files Mark Bush wrote: > Joe Wirtley wrote: >> When I run rake in the child folder, it works. When I run rake in the >> Raketest folder, I get the "The system cannot find the path specified." >> message. So what am I missing? > [...] > > My guess is that it has something to do with the way OS commands are > being executed under Windows. Can you run "cd Child; rake" like that > from the Windows prompt and get the right thing? For Windows cmd.exe, you can't use ';' to separate commands. You have to use '&' to unconditionally them one after the other. sh "cd Child & rake" # Windows only Maybe '&&' will work on Unix and Windows. sh "cd Child && rake" Daniel -- http://vorratsdatenspeicherung.de