How to get rake / testrb running again

T

Tobias Luetke

Since i updated to 1.8.2 by way of darwinports on osx I have several problems
running unit tests. Darwinports lets me deactivate 1.8.2 and
reactivate 1.8.1 which causes all things involving unit tests to work
again.

This happens in my main rails project :

(in /Users/tobi/dev/projects/snowdevil)
ruby -Ilib:test -S testrb test/unit/account_mailer_test.rb
test/unit/article_test.rb test/unit/binary_test.rb
test/unit/cart_item_test.rb test/unit/cart_test.rb
test/unit/category_test.rb test/unit/checkout_mailer_test.rb
test/unit/country_test.rb test/unit/currency_test.rb
test/unit/error_mailer_test.rb test/unit/language_test.rb
test/unit/manufacturer_test.rb test/unit/media_directory_test.rb
test/unit/media_file_test.rb test/unit/money_test.rb
test/unit/order_test.rb test/unit/product_index_test.rb
test/unit/product_test.rb test/unit/product_text_test.rb
test/unit/product_unit_test.rb test/unit/task_test.rb
test/unit/user_address_test.rb test/unit/user_role_test.rb
test/unit/user_test.rb test/unit/zone_test.rb

After this is basically freezes forever and i need to kill the process.

testrb test/unit/* causes the same result.

I can run individual test cases fine.

$ ruby -v
ruby 1.8.2 (2004-12-25) [powerpc-darwin7.7.0]
$ gem list | grep rake
rake (0.4.15, 0.4.13)
 
J

Jim Weirich

Since i updated to 1.8.2 by way of darwinports on osx I have several
problems running unit tests. Darwinports lets me deactivate 1.8.2 and
reactivate 1.8.1 which causes all things involving unit tests to work
again.

Hmm... I am unsure from your description ... does the problem only happen when
the tests are invoked from rake, or does invoking testrb from the command
line directly also cause the problem?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,772
Messages
2,569,593
Members
45,111
Latest member
KetoBurn
Top