Just to be sure and help other people out, the error was you can't connect to your mysql db? and you have to change your database configuration to make things work?
On Tue, Dec 8, 2009 at 9:34 AM, Matthew <[email protected]> wrote: > Also, I apologize for being noobish. Never done any testing with > Rails :) > > On Dec 7, 7:23 pm, Jim Ruther Nill <[email protected]> wrote: > > What's the output when you run rake test:units --trace? > > > > > > > > On Tue, Dec 8, 2009 at 9:01 AM, Matthew <[email protected]> > wrote: > > > No. I did the "long way" from the readme - the template actually > > > failed as well. The "long way" seemed the most simple way to get it to > > > use mysql, etc. > > > > > On Dec 7, 6:57 pm, Jim Ruther Nill <[email protected]> wrote: > > > > My mistake. I assumed that you forgot to include some of the files > as > > > what > > > > was stated in one of the earliest responses. > > > > Did you install using a template? > > > > > > On Tue, Dec 8, 2009 at 12:58 AM, Matthew < > [email protected] > > > >wrote: > > > > > > > I assumed "Ah! You’ll need the events.yml and registrations.yml > test > > > > > fixture files. I’ll update the recipe. You can grab those files > from > > > > > the code bundle." post was specific to the Should/Shoulda app. > > > > > > > On Dec 7, 10:55 am, Matthew <[email protected]> wrote: > > > > > > You mean try to run tests in another app? Other tests work fine. > > > > > > > > Snippet from community engine `rake test`: > > > > > > /usr/bin/ruby -I"/home/mculp/projects/polis/lib" -I"/home/mculp/ > > > > > > projects/polis/test" > > > "/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/ > > > > > > rake_test_loader.rb" > > > > > > Errors running test:units! > > > > > > > > Snippet from cruisecontrol `rake test`: > > > > > > /usr/bin/ruby -I"/home/mculp/projects/cruisecontrol/lib" > -I"/home/ > > > > > > mculp/projects/cruisecontrol/test" "/usr/lib/ruby/gems/1.8/gems/ > > > > > > rake-0.8.4/lib/rake/rake_test_loader.rb" "test/integration/ > > > > > > builder_integration_test.rb" "test/integration/ > > > > > > subversion_integration_test.rb" > > > > > > cruise data root = '/home/mculp/.cruise' > > > > > > Loaded suite /usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/ > > > > > > rake_test_loader > > > > > > Started > > > > > > ...................... > > > > > > Finished in 39.72585 seconds. > > > > > > > > 22 tests, 43 assertions, 0 failures, 0 errors > > > > > > > > On Dec 7, 10:39 am, Jim Ruther Nill <[email protected]> wrote: > > > > > > > > > try this post.http://forums.pragprog.com/forums/43/topics/294 > > > > > > > > > On Mon, Dec 7, 2009 at 10:26 PM, Matthew < > > > [email protected] > > > > > >wrote: > > > > > > > > > > Still haven't figured this out. > > > > > > > > > > On Dec 4, 11:00 pm, Matthew <[email protected]> > wrote: > > > > > > > > > I installed Community Engine locally to my mac this > afternoon. > > > > > > > > > Everything went smoothly. Now, when I'm trying to install > it on > > > my > > > > > web > > > > > > > > > server (linux), I can't get past the `rake test` step. > > > > > > > > > > > $ [~/projects/polis]# rake test --trace > > > > > > > > > (in /home/mculp/projects/polis) > > > > > > > > > ** Invoke test (first_time) > > > > > > > > > ** Execute test > > > > > > > > > ** Invoke test:units (first_time) > > > > > > > > > ** Invoke db:test:prepare (first_time) > > > > > > > > > ** Invoke db:abort_if_pending_migrations (first_time) > > > > > > > > > ** Invoke environment (first_time) > > > > > > > > > ** Execute environment > > > > > > > > > ** Execute db:abort_if_pending_migrations > > > > > > > > > ** Execute db:test:prepare > > > > > > > > > ** Invoke db:test:load (first_time) > > > > > > > > > ** Invoke db:test:purge (first_time) > > > > > > > > > ** Invoke environment > > > > > > > > > ** Execute db:test:purge > > > > > > > > > ** Invoke test:functionals (first_time) > > > > > > > > > ** Invoke db:test:prepare > > > > > > > > > ** Execute test:functionals > > > > > > > > > /usr/bin/ruby -I"/home/mculp/projects/polis/lib" > > > -I"/home/mculp/ > > > > > > > > > projects/polis/test" > > > > > "/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/ > > > > > > > > > rake_test_loader.rb" > > > > > > > > > ** Invoke test:integration (first_time) > > > > > > > > > ** Invoke db:test:prepare > > > > > > > > > ** Execute test:integration > > > > > > > > > /usr/bin/ruby -I"/home/mculp/projects/polis/lib" > > > -I"/home/mculp/ > > > > > > > > > projects/polis/test" > > > > > "/usr/lib/ruby/gems/1.8/gems/rake-0.8.4/lib/rake/ > > > > > > > > > rake_test_loader.rb" > > > > > > > > > Errors running test:units! > > > > > > > > > > > I looked around and saw where someone was having trouble > with > > > 2.3.4 > > > > > (I > > > > > > > > > have 2.3.3 on my mac), so I tried reinstalling with `rails > > > _2.3.2_ > > > > > > > > > app` and followed the steps and got the same results. > > > > > > > > > > > Web server: ruby 1.8.7, rails 2.3.4 (also tried 2.3.2) > > > > > > > > > Mac: ruby 1.8.6, rails 2.3.3 > > > > > > > > > > > Any help would be greatly appreciated. > > > > > > > > > > -- > > > > > > > > > > You received this message because you are subscribed to the > > > Google > > > > > Groups > > > > > > > > "CommunityEngine" group. > > > > > > > > To post to this group, send email to > > > > > [email protected]. > > > > > > > > To unsubscribe from this group, send email to > > > > > > > > [email protected]<communityengine%[email protected]> > <communityengine%2Bunsubscribe@ googlegroups.com> > > > <communityengine%2Bunsubscribe@ googlegroups.com> > > > > > <communityengine%2Bunsubscribe@ googlegroups.com> > > > > > > > > . > > > > > > > > For more options, visit this group at > > > > > > > >http://groups.google.com/group/communityengine?hl=en. > > > > > > > -- > > > > > > > You received this message because you are subscribed to the Google > > > Groups > > > > > "CommunityEngine" group. > > > > > To post to this group, send email to > [email protected]. > > > > > To unsubscribe from this group, send email to > > > > > [email protected]<communityengine%[email protected]> > <communityengine%2Bunsubscribe@ googlegroups.com> > > > <communityengine%2Bunsubscribe@ googlegroups.com> > > > > > . > > > > > For more options, visit this group at > > > > >http://groups.google.com/group/communityengine?hl=en. > > > > > -- > > > > > You received this message because you are subscribed to the Google > Groups > > > "CommunityEngine" group. > > > To post to this group, send email to [email protected]. > > > To unsubscribe from this group, send email to > > > [email protected]<communityengine%[email protected]> > <communityengine%2Bunsubscribe@ googlegroups.com> > > > . > > > For more options, visit this group at > > >http://groups.google.com/group/communityengine?hl=en. > > -- > > You received this message because you are subscribed to the Google Groups > "CommunityEngine" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<communityengine%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/communityengine?hl=en. > > > -- You received this message because you are subscribed to the Google Groups "CommunityEngine" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/communityengine?hl=en.
