Issue #3972 has been updated by Tomoyuki Chikanaga. Thank you for your reviewing. :) I'll check in it by myself after check test. ---------------------------------------- Bug #3972: r28668 breaks test/unit when combined with the testing rake task http://redmine.ruby-lang.org/issues/3972 Author: Aaron Patterson Status: Closed Priority: Normal Assignee: Nobuyoshi Nakada Category: Target version: ruby -v: - r28668 makes Test::Unit process command line arguments even when used in conjunction with the rake test loader. This causes every test file to be required twice. How to reproduce: 1. Create a file "foo.rb" with a test: require 'test/unit' puts "HELLO!" class Foo < Test::Unit::TestCase def test_whatever assert true end end 2. Run the test using the rake test loader like this: $ ruby -w "/Users/apatterson/.local/lib/ruby/1.9.1/rake/rake_test_loader.rb" "foo.rb" You'll see "HELLO!" printed twice and warnings about methods being redefined. Here is a video of the failure: http://www.youtube.com/watch?v=woj1IYnEZdA -- http://redmine.ruby-lang.org