I have an entry on my blog, with some code, on how to remove things you
don’t want from the Rake processing:
In my case, I didn’t want to dump the Development database before
loading the Test database, since the machine this is running on has no
Development database. To make this happen, I wrote the code to prune
out the tasks that dump the Development database.