rake aborts with closed stream running rake test 3

Posted by chad on December 11, 2008

Why does rake abort?

chadd@ubuntu:~/myproj$ rake test:units
(in /home/chadd/myproj)
rake aborted!
closed stream
(See full trace by running task with –trace)

 

SOLVED – just do a rake db:schema:dump. If that has never been done, and the database was originally built without a migration (even though I have a full set of migrations that SHOULD create the database properly in the test db), this cryptic error occurs.