J
Jim Menard
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
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