Rake 0.8.7 and IronRuby 0.5


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 from C:/ironruby/lib/ironruby/gems/1.8/gems/rake-0.8.7/lib/rake.rb:995:insh’

I reported this as CodePlex #1400. Please vote!


Thanks for the detailed bug report! I have a fix, and will push it out
next week…