# "mspec ci" throws an exception

**URL:** <https://www.ruby-forum.com/t/mspec-ci-throws-an-exception/165669>\
**Category:** IronRuby\
**Created:** [April 16, 2009, 10:26am UTC](https://www.ruby-forum.com/t/mspec-ci-throws-an-exception/165669 "2009-04-16T10:26:33Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![thbar](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/t/eb8c5e/32.png) [@thbar](https://www.ruby-forum.com/u/thbar)\
**Post date:** [April 16, 2009, 10:26am UTC](https://www.ruby-forum.com/t/mspec-ci-throws-an-exception/165669/1 "2009-04-16T10:26:33Z")

</div>

Hi,

should I open a bug on codeplex for that ? Is anyone else meeting the  
same issue ? (details below)

C:\Git\ironruby\Merlin\Main\Languages\Ruby\>mspec ci  
IronRuby 0.3 0.3.0.0 on .NET 2.0.0.0  
script.rb:172:in `files': undefined method`inject’ for nil:NilClass  
(NoMethodError)  
from mspec-ci.rb:11:in `options' from script.rb:189:in`main’  
from mspec-ci:0

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

C:\git\ironruby\Merlin\External.LCA\_RESTRICTED\Languages\IronRuby\mspec\mspec\lib\mspec\commands\mspec-ci.rb

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).

– Thibaut
