Hi As i run the unit tests using rake, it shows an error message saying that ''Rake aborted:Connection to MySQL server lost'' but when i do --trace it shows that tests were executed. Why this error could be coming? Any ideas? Thanks and regards, Swanand --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
On 2/11/07, swanand deodhar <swanand.blms-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:> Hi > As i run the unit tests using rake, it shows an error message saying > that ''Rake aborted:Connection to MySQL server lost'' but when i do --trace it > shows that tests were executed. Why this error could be coming? Any ideas? > Thanks and regards, > Swanand >Have you installed the MySQL gem? It looks like you have not. If not, you should. Chad --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---
swanand deodhar wrote:> As i run the unit tests using rake, it shows an error message saying > that ''Rake aborted:Connection to MySQL server lost''That is something of a Rails FAQ. MySQL hangs up the phone on you when the wind blows. What did you Google for before posting? (Tip: Configure your unit tests to run with SQLite3, and they will zip!) -- Phlip http://www.greencheese.us/ZeekLand <-- NOT a blog!!! --~--~---------~--~----~------------~-------~--~----~ 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-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---