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.
Hello, I have the same problem and i ran rake db:schema:dump but that didn’t seam to fix my issue. does anyone have any other suggestions?
Chad, was there anything else you may have done that might have fixed it?
oddly, i’m now not sure if that fixed it, but another developer on the project did make a change and i’m sure that fixed it. so i’ll ask him tomorrow what he did…
Chad,
Did you ever find out what the problem was? I’m getting the same error when trying to migrate some things over to the paperclip plugin.