The Rakefile
task :default => ['foo/bar']
directory 'foo'
file 'foo/bar' => ['foo'] do
sh 'touch foo/bar'
end
fails if both the directory 'foo' and the file 'bar' within it exist.
c:/cygwin/tmp/> rake
(in c:/cygwin/tmp)
rake aborted!
Permission denied - foo
c:/cygwin/tmp/>
As you can see from the command prompt, this is under Cygwin.
Am I doing something wrong?
Jim
--
Jim Menard, jimm / io.com, http://www.io.com/~jimm/
"Congratulations are in order for Tom Reid. He says he just found out he is
the winner of the 2021 Psychic of the Year award." -- Seen on slashdot