This project is read-only.


ci_files set needed in mspec config


mspec ci fails:
C:\Git\ironruby\Merlin\Main\Languages\Ruby>mspec ci
IronRuby 0.3 on .NET
script.rb:172:in files': undefined methodinject' for nil:NilClass (NoMethodError)
    from mspec-ci.rb:11:in `options'
    from script.rb:189:in `main'
    from mspec-ci:0
Closed Apr 29, 2009 at 11:21 PM by sborde


thbar wrote Apr 17, 2009 at 2:20 PM

I had a closer look and saw that the files methods in script.rb is passed a nil files argument. This is caused by


line 54: patterns = config[:ci_files] if patterns.empty?

config[:ci_files] is nil.

I searched for ci_files on all the files but can't find anything that would set this key in the hash (except for tests).

jredville wrote Apr 17, 2009 at 5:05 PM

Fixed in my branch. I'll push after I finish updating rubyspec.

wrote Apr 17, 2009 at 5:05 PM

wrote Apr 29, 2009 at 11:21 PM

wrote Feb 5, 2010 at 12:52 AM

wrote Feb 22, 2013 at 12:40 AM

wrote May 16, 2013 at 12:05 PM