From: Mark Bush Date: 2008-02-23T18:10:22+09:00 Subject: Re: Nested Rails Files 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? On UNIX (MacOS): $ cat lib/tasks/Raketest/Rakefile task :default do sh "cd Child;rake" end $ cd lib/tasks/Raketest/ $ rake (in /Users/bush/Src/Rails/sample/lib/tasks/Raketest) cd Child;rake (in /Users/bush/Src/Rails/sample/lib/tasks/Raketest/Child) Child Rake Default task $ rake --version rake, version 0.8.1 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? -- Posted via http://www.ruby-forum.com/.