On Feb 1, 2009, at 05:26 , Takao Kouji wrote:

> Hi, Ryan.
>
> I use ruby 1.9.1p5000 (2009-01-31 trunk 21924) [i386-darwin9.6.0].
> I got the error message, after I run 'gem install --test <gem  
> package>'.
>
>  ERROR:  While executing gem ... (NoMethodError)
>      undefined method `passed?' for #<MiniTest::Unit:0x77d1fc>
>
> The source of the problem is called MiniTest::Unit#passed? at
> lib/rubygems/commands/install_command.rb:136.
>
> The attached patch will fix the problem.
>
> Index: unit.rb
> ===================================================================
> --- unit.rb	(revision 21924)
> +++ unit.rb	(working copy)
> @@ -429,6 +429,10 @@
>       [@test_count, @assertion_count]
>     end
>
> +    def passed?
> +      return (failures + errors) == 0
> +    end

this is a rubygems issue that we'll fix on that side instead.