Rake test tasks only work with --trace

I've run into the same problem a few times before and it always seems to have something to do with the mysql gem. If you have the mysql gem installed, try uninstalling it. If you don't have it installed, try installing it but watch for errors during the install. I think the problem occurs when you attempt to install the mysql gem and the build fails.