Forum: Ruby NoMethodError in rubygems.rb when running autotest

Announcement (2017-05-07): is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see and for other Rails- und Ruby-related community platforms.
653042951374048a6cfd84c5dd3a4ddd?d=identicon&s=25 Ed Brannin (Guest)
on 2007-05-27 15:40
(Received via mailing list)

I just installed ZenTest last night, but autotest isn't working:

ed$ autotest
`latest_partials': undefined method `[]' for nil:NilClass
        from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:379:in
        from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:379:in
        from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:342:in
        from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:341:in
        from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:341:in
        from /opt/local/bin/autotest:16:in `load'
        from /opt/local/bin/autotest:16

This happens in several rails apps, so I don't think it's my fault.
I'm running ZenTest v3.6.0 on Mac OS X 10.4.9, with ruby 1.8.5
(2006-08-25) [i686-darwin8.8.1] installed by MacPorts.

Any ideas?  Google didn't turn up anything on "latest_partials
undefined method".

-Ed Brannin
3d46d8c82d2167ffef81fac65ec92838?d=identicon&s=25 David Collier (d3ntaku)
on 2007-06-18 06:31
(Received via mailing list)
ed -

did you find a solution to this? i have seen the same Q in a couple of
it maybe related to some other test gem being installed. i have both
cruisecontrol and rpsec running...


On 27/05/07, Ed Brannin <> wrote:
>         from /opt/local/lib/ruby/vendor_ruby/1.8/rubygems.rb:379:in
>         from /opt/local/bin/autotest:16
> -Ed Brannin

      David "DC" Collier
      +81 (0)80 6521 9559
      skype: callto://d3ntaku
42a74d6f0b5b8483f5ddb5f7189f2136?d=identicon&s=25 Nicolas Rimbeau (Guest)
on 2007-08-20 10:35
(Received via mailing list)
E553d76724115b8126c00a515bd957c1?d=identicon&s=25 Valery Visnakov (balepc)
on 2008-07-16 15:55
Thank you much. That helped.
This topic is locked and can not be replied to.