In one of my rake test I ran into the same problem. It looks like one of the 
method was getting a null value even though the method signature had   
[NotNull] with /*!*/. I added a code if the value is null return false and my 
rake test went through. It happened for all but one test so I am ok for now. It 
looks like it is not happening when you execute the same command in ir so I 
think it is specific to rake. I doubt, it has to do with ':each' in the 
teardown part of the rake test.
Thanks.



----- Original Message ----
From: Andrew Peters <[EMAIL PROTECTED]>
To: ironruby-core@rubyforge.org
Sent: Tuesday, May 13, 2008 11:09:31 PM
Subject: [Ironruby-core] rake test

Should I be able to run these?

I'm currently getting this error:

:0:in `do_generate': undefined local variable or method `methods' for 
main:Object (NoMethodError)
        from :0:in `#block162'
        from 
c:\Projects\IronRuby\trunk\src\IronRuby.Libraries\Extensions\IListOps.cs:785:in 
`Each'
        from :0:in `Initialize##1'rake aborted!
Command failed with status (1): ["c:\projects\ironruby\trunk\build\debug\ir...]

Cheers,

Andrew.
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to