Jim Weirich <jim / weirichhouse.org> writes: > = Rake 0.6.0 Released > > Its time for some long requested enhancements and lots of bug fixes > ... And a whole new web page. Wonderful, and thank you for developing it. Since updating to 0.6.0, I have some problems with TestTask. This is the code that defines it: desc "Run all the tests" Rake::TestTask.new do |t| t.libs << "test" t.test_files = FileList['test_*.rb'] t.verbose = true t.loader = XXX end For various values of XXX: :rake results in: /usr/local/bin/ruby -Ilib:test \ "/usr/local/lib/ruby/site_ruby/1.8/rake/rake_test_loader.rb" \ "test_dissident.rb" "test_lifecycle.rb" Loaded suite /usr/local/lib/ruby/site_ruby/1.8/rake/rake_test_loader Started ................... Finished in 0.277981 seconds. 19 tests, 116 assertions, 0 failures, 0 errors This is the method that works, but it shows the wrong "loaded suite". :testrb results in: /usr/local/bin/ruby -Ilib:test "-S testrb \ /usr/local/lib/ruby/site_ruby/1.8/rake/ruby182_test_unit_fix.rb" \ "test_dissident.rb" "test_lifecycle.rb" /usr/local/bin/ruby: invalid option - (-h will show valid options) rake aborted! I don't know exactly whats happening here, but "testrb test_*.rb" works when called directly. For :direct, I get: /usr/local/bin/ruby -Ilib:test "-e 'ARGV.each{|f| load f}'" \ "test_dissident.rb" "test_lifecycle.rb" And no further output. It works when I manually call /usr/local/bin/ruby -e 'ARGV.each{|f| load f}' \ "test_dissident.rb" "test_lifecycle.rb" on the shell, though. The TestTask worked with my previous version of rake, which I think was 0.4.15. BTW, I think rake is a good tool every Ruby user benefits from, it would be great if it was included in future versions of the Ruby standard library. > -- Jim Weirich -- Christian Neukirchen <chneukirchen / gmail.com> http://chneukirchen.org