[Ironruby-core] Rake 0.8.7 and IronRuby 0.5

Shri Borde Shri.Borde at microsoft.com
Sun May 24 16:59:37 EDT 2009

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

-----Original Message-----
From: ironruby-core-bounces at rubyforge.org [mailto:ironruby-core-bounces at rubyforge.org] On Behalf Of Seo Sanghyeon
Sent: Sunday, May 24, 2009 3:09 AM
To: ironruby-core at rubyforge.org
Subject: [Ironruby-core] 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:in

I reported this as CodePlex #1400. Please vote!

Seo Sanghyeon
Ironruby-core mailing list
Ironruby-core at rubyforge.org

More information about the Ironruby-core mailing list