Newbie question abour Rake

I’m learning about rake, and have what is probably a silly question.
When I run rake from my rails app’s top directory, what rakefile is it
really running?

I have rails 1.0, and in my top-level directory there is a small file
called “Rakefile”, which basically just includes a few other files:

require ‘rake’
require ‘rake/testtask’
require ‘rake/rdoctask’
require ‘tasks/rails’

If this is indeed the file that’s being used when I run rake without any
parameters, then the tasks must be defined in these other files… but I
can’t find these files on my machine. I’ve looked in my rails app’s
subfolders, as well as under the directory where the Rails 1.0.0 gem is
installed on my box, to no avail (though I did find a rather large
Rakefile there…?)

Can anyone shed a little light or just get me started in the right


Am Mittwoch, den 04.01.2006, 07:39 +0100 schrieb Jeff C.:

require ‘tasks/rails’


On my Debian machine i found the file under