On Sun, Jul 11, 2010 at 9:51 AM, RichardOnRails <[email protected]> wrote: > > I got took one of the first examples of the website I cited before, >> >http://jasonseifer.com/2010/04/06/rake-tutorial > and found that it didn't work "in any directory" as advertised.
It does indeed work "in any directory" for me, but that's on OS X; maybe this is a Windows-specific issue? ripple:~$ cd Downloads ripple:~/Downloads$ cat Rakefile directory "tmp" file "hello.tmp" => "tmp" do sh "echo 'Hello' >> 'tmp/hello.tmp'" end ripple:~/Downloads$ ls tmp ls: tmp: No such file or directory ripple:~/Downloads$ rake hello.tmp (in /Users/hassan/Downloads) mkdir -p tmp echo 'Hello' >> 'tmp/hello.tmp' ripple:~/Downloads$ ls tmp/hello.tmp -rw-r--r-- 1 hassan staff 6 Jul 11 10:59 tmp/hello.tmp ripple:~/Downloads$ cat tmp/hello.tmp Hello ripple:~/Downloads$ FWIW, -- Hassan Schroeder ------------------------ [email protected] twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

