Rake gives Command failed with status (1):

I am trying to run rake on an app I have made. This is what happens

[email protected]:~/************$ rake test:units --trace
(in /home/neil/************)
** Invoke test:units (first_time)
** Invoke db:test:prepare (first_time)
** Invoke db:abort_if_pending_migrations (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:abort_if_pending_migrations
** Execute db:test:prepare
** Invoke db:test:load (first_time)
** Invoke db:test:purge (first_time)
** Invoke environment
** Execute db:test:purge
** Execute db:test:load
** Invoke db:schema:load (first_time)
** Invoke environment
** Execute db:schema:load
** Execute test:units
/usr/bin/ruby1.8 -I"lib:test"
“test/unit/story_test.rb” “test/unit/user_mailer_test.rb”
“test/unit/user_test.rb” “test/unit/helpers/community_helper_test.rb”
“test/unit/helpers/profile_helper_test.rb” “test/unit/comment_test.rb”
ruby index.rb
rake aborted!
Command failed with status (1): [/usr/bin/ruby1.8 -I"lib:test"

I’ve spent two days googling this. Has anybody any idea what is wrong?