subhransu behera
2010-Feb-19 07:03 UTC
closed stream error running unit tests through rake
Hi, I have been trying to run unit tests through rake and getting closed stream error. The trace output is mentioned below: http://pastie.org/828398 I am on a Mac OSX 10.5.6 (leopard). And having the following setting % Ruby - ruby 1.8.6 (2008-08-11 patchlevel 287) [universal-darwin9.0] % Rails - 2.3.5 % mysql gem - (2.8.1, 2.7) % MySql Server - 5.1.44 (installed from binary) I have followed all the database setup steps before trying to run the unit tests like: % rake db:create:all % rake db:migrate % rake db:test:prepare I also tried to create an new rails project and tried to execute % rake test:units but getting the same error as mentioned in the pastie above. Went through couple of posts in different forums also but they didn''t help much! I also tried "rake db:schema:dump" as one of the suggested. But the error is till the same. Any suggestion or hint on this will be great. Thanks, Subh -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.