R
RichardOnRails
Flightless Bird
Hi,
I got an example rakefile from the webpage
http://jasonseifer.com/2010/04/06/rake-tutorial
which displays "Published: April 6, 2010 at 4:25 AM"
Below are my results from testing that rakefile in a Command window on
WinXP-Pro/SP3 running Rails 2.3.5, where Rake complained "Don't know
how to build task 'default'". How do I get it to run?
Thanks in Advance,
Richard
=== Command Window ===
KTemp>dir
Volume in drive K is K02-100G_NT
Volume Serial Number is B00C-F65F
Directory of KTemp
07/09/2010 05:25 PM <DIR> .
07/09/2010 05:25 PM <DIR> ..
07/09/2010 05:01 PM 15 file_in.txt
07/09/2010 05:21 PM 103 rakefile
2 File(s) 118 bytes
2 Dir(s) 56,653,742,080 bytes free
KTemp>type rakefile
directory "tmp"
file "hello.tmp" => "tmp" do
sh "echo 'Hello' >> 'tmp/hello.tmp'"
end
KTemp>rake
(in KTemp)
rake aborted!
Don't know how to build task 'default'
(See full trace by running task with --trace)
KTemp>
I got an example rakefile from the webpage
http://jasonseifer.com/2010/04/06/rake-tutorial
which displays "Published: April 6, 2010 at 4:25 AM"
Below are my results from testing that rakefile in a Command window on
WinXP-Pro/SP3 running Rails 2.3.5, where Rake complained "Don't know
how to build task 'default'". How do I get it to run?
Thanks in Advance,
Richard
=== Command Window ===
KTemp>dir
Volume in drive K is K02-100G_NT
Volume Serial Number is B00C-F65F
Directory of KTemp
07/09/2010 05:25 PM <DIR> .
07/09/2010 05:25 PM <DIR> ..
07/09/2010 05:01 PM 15 file_in.txt
07/09/2010 05:21 PM 103 rakefile
2 File(s) 118 bytes
2 Dir(s) 56,653,742,080 bytes free
KTemp>type rakefile
directory "tmp"
file "hello.tmp" => "tmp" do
sh "echo 'Hello' >> 'tmp/hello.tmp'"
end
KTemp>rake
(in KTemp)
rake aborted!
Don't know how to build task 'default'
(See full trace by running task with --trace)
KTemp>