Forum: IronRuby Rake 0.8.7 and IronRuby 0.5

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.
Seo S. (Guest)
on 2009-05-24 14:13
(Received via mailing list)
I installed IronRuby 0.5, and ran igem install rake, which installed
Rake 0.8.7.

Now rake/testtask launches new Ruby process using RakeFileUtils.ruby,
which ultimately calls Kernel.system. When tests fail, $? is examined,
but it is Fixnum, not Process::Status, so Rake barfs.

Transcript follows.

irb(main):001:0> require 'rubygems'
=> true
irb(main):002:0> require 'rake'
=> true
irb(main):003:0> RakeFileUtils.ruby 'do_not_exist.rb'
C:/ironruby/lib/IronRuby/../..//bin/ir.exe do_not_exist.rb
NoMethodError: undefined method `exitstatus' for 1:Fixnum

I reported this as CodePlex #1400. Please vote!
Shri B. (Guest)
on 2009-05-25 01:11
(Received via mailing list)
Thanks for the detailed bug report! I have a fix, and will push it out
next week...
This topic is locked and can not be replied to.