When I try to run rake test:units I got error.
rake aborted!
Task not supported by 'ibm_db'
....
Tasks: TOP => db:test:load => db:test:purge
(See full trace by running task with --trace)
So the ibm_db plugin didn't provide db:test:purge task.
I found there is a project http://rubyforge.org/projects/db2extended/
But it looks like not work with Rails 3. So I just copy the db2extended_tasks.rake into lib/tasks. It seems works.