From: RichardOnRails on 9 Jul 2010 17:37 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 === K:\Temp>dir Volume in drive K is K02-100G_NT Volume Serial Number is B00C-F65F Directory of K:\Temp 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 K:\Temp>type rakefile directory "tmp" file "hello.tmp" => "tmp" do sh "echo 'Hello' >> 'tmp/hello.tmp'" end K:\Temp>rake (in K:/Temp) rake aborted! Don't know how to build task 'default' (See full trace by running task with --trace) K:\Temp>
From: RichardOnRails on 9 Jul 2010 17:39 On Jul 9, 5:37 pm, RichardOnRails <RichardDummyMailbox58...(a)USComputerGurus.com> wrote: > Hi, > > I got an example rakefile from the webpagehttp://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 === > K:\Temp>dir > Volume in drive K is K02-100G_NT > Volume Serial Number is B00C-F65F > > Directory of K:\Temp > > 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 > > K:\Temp>type rakefile > directory "tmp" > > file "hello.tmp" => "tmp" do > sh "echo 'Hello' >> 'tmp/hello.tmp'" > end > > K:\Temp>rake > (in K:/Temp) > rake aborted! > Don't know how to build task 'default' > > (See full trace by running task with --trace) > > K:\Temp> Woops! I posted this to the wrong NG. Sorry!
|
Pages: 1 Prev: The area for the questions is blank Next: Problem Installing XP after Ubuntu install |