[Ironruby-core] Running rake mspec:lib

Peter Bacon Darwin bacondarwin at googlemail.com
Thu Jun 5 08:50:46 EDT 2008


I am having trouble running the RubySpecs from rake.

 

First I get this:

D:\dev\ruby\ironruby\head>rake mspec:lib

(in D:/dev/ruby/ironruby/head)

mspec/bin/mspec:141:in `exec': No such file or directory -
d:\dev\ruby\ironruby\head\build\release\ir.cmd (Errno::ENOENT)

        from mspec/bin/mspec:141:in `run'

        from
d:/dev/ruby/ironruby/head/tests/ironruby/util/mspec/lib/mspec/utils/script.r
b:91:in `main'

        from mspec/bin/mspec:146

rake aborted!

Command failed with status (1): [ruby mspec/bin/mspec ci -t
d:\dev\ruby\iro...]

D:/dev/ruby/ironruby/head/rakefile:350:in `invoke_mspec'

(See full trace by running task with --trace)

 

It appears that ir.cmd is hard-coded inside rake to look in the release
folder rather than debug, which is to where rake compile is building.

 

OK so I copy the files over from debug to release and now I get:

D:\dev\ruby\ironruby\head>rake mspec:lib

(in D:/dev/ruby/ironruby/head)

d:\dev\ruby\ironruby\head\src\IronRuby.Libraries\Builtins\kernelops.cs:300:i
n `require': no such file to load -- optparse (LoadError)

        from :0:in `Initialize##1'

rake aborted!

Command failed with status (1): [ruby mspec/bin/mspec ci -t
d:\dev\ruby\iro...]

D:/dev/ruby/ironruby/head/rakefile:351:in `invoke_mspec'

(See full trace by running task with --trace)

 

I get the same result with rake mspec:core and mspec:lang.

Any ideas? 

Pete

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20080605/6a34496a/attachment.html>


More information about the Ironruby-core mailing list