How do I find the source file for a rake task?
I know this is an old question, but in any case: rake -W This was introduced in rake 0.9.0. http://rake.rubyforge.org/doc/release_notes/rake-0_9_0_rdoc.html Support for the –where (-W) flag for showing where a task is defined.