Asp Forum
Home
|
Login
|
Register
|
Search
Forums
>
comp.lang.ruby
How to get rake / testrb running again
Tobias Luetke
1/9/2005 5:46:00 PM
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)
--
Tobi
http://www.h...
- Open source book authoring
http://blog.le...
- Technical weblog
1 Answer
Jim Weirich
1/10/2005 4:22:00 AM
0
On Sunday 09 January 2005 12:45 pm, Tobias Luetke wrote:
> 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?
--
-- Jim Weirich jim@weirichhouse.org
http://onest...
-----------------------------------------------------------------
"Beware of bugs in the above code; I have only proved it correct,
not tried it." -- Donald Knuth (in a memo to Peter van Emde Boas)
Servizio di avviso nuovi messaggi
Ricevi direttamente nella tua mail i nuovi messaggi per
How to get rake / testrb running again
Inserendo la tua e-mail nella casella sotto, riceverai un avviso tramite posta elettronica ogni volta che il motore di ricerca troverà un nuovo messaggio per te
Il servizio è completamente GRATUITO!
x
Login to ForumsZone
Login with Google
Login with E-Mail & Password