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 as I intend?

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>

-- 
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.

Reply via email to