On 20 November 2010 18:21, Neil Bye <li...@ruby-forum.com> wrote:
> [...]
> n...@baby6:~/*****$ rake test:units --trace
> (in /home/neil/******)
> ** 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
> ** Execute db:test:load
> ** Invoke db:schema:load (first_time)
> ** Invoke environment
> ** Execute db:schema:load
> ** Execute test:units
> /usr/bin/ruby1.8 -I"lib:test"
> "/usr/lib/ruby/1.8/rake/rake_test_loader.rb" "test/unit/comment_test.rb"
> "test/unit/user_mailer_test.rb" "test/unit/friendship_test.rb"
> "test/unit/helpers/friendship_helper_test.rb"
> "test/unit/helpers/profile_helper_test.rb"
> "test/unit/helpers/community_helper_test.rb" "test/unit/user_test.rb"
> "test/unit/story_test.rb"
> ruby index.rb <data dir> <index dir>
> rake aborted!
> Command failed with status (1): [/usr/bin/ruby1.8 -I"lib:test"
> "/usr/lib/ru...]
> /usr/lib/ruby/1.8/rake.rb:995
> /usr/lib/ruby/1.8/rake.rb:1010:in `call'
> /usr/lib/ruby/1.8/rake.rb:1010:in `sh'
> /usr/lib/ruby/1.8/rake.rb:1094:in `sh'
> /usr/lib/ruby/1.8/rake.rb:1029:in `ruby'
> /usr/lib/ruby/1.8/rake.rb:1094:in `ruby'
> /usr/lib/ruby/1.8/rake/testtask.rb:117
> /usr/lib/ruby/1.8/rake.rb:1112:in `verbose'
> /usr/lib/ruby/1.8/rake/testtask.rb:102
> /usr/lib/ruby/1.8/rake.rb:636:in `call'
> /usr/lib/ruby/1.8/rake.rb:636:in `execute'
> /usr/lib/ruby/1.8/rake.rb:631:in `each'
> /usr/lib/ruby/1.8/rake.rb:631:in `execute'
> /usr/lib/ruby/1.8/rake.rb:597:in `invoke_with_call_chain'
> /usr/lib/ruby/1.8/monitor.rb:242:in `synchronize'
> /usr/lib/ruby/1.8/rake.rb:590:in `invoke_with_call_chain'
> /usr/lib/ruby/1.8/rake.rb:583:in `invoke'
> /usr/lib/ruby/1.8/rake.rb:2051:in `invoke_task'
> /usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
> /usr/lib/ruby/1.8/rake.rb:2029:in `each'
> /usr/lib/ruby/1.8/rake.rb:2029:in `top_level'
> /usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
> /usr/lib/ruby/1.8/rake.rb:2023:in `top_level'
> /usr/lib/ruby/1.8/rake.rb:2001:in `run'
> /usr/lib/ruby/1.8/rake.rb:2068:in `standard_exception_handling'
> /usr/lib/ruby/1.8/rake.rb:1998:in `run'
> /usr/bin/rake:28

What happens if you run one of the tests explicitly, for example
ruby -I test test/unit/comment_test.rb

That is a capital i in -I test, telling ruby to include the test folder.


Otherwise I am getting out of my depth I think.  Can anyone else
suggest what the problem may be?

Colin

-- 
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-t...@googlegroups.com.
To unsubscribe from this group, send email to 
rubyonrails-talk+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-talk?hl=en.

Reply via email to