Forum: IronRuby Rake 0.8.7 and IronRuby 0.5

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community 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.

C:\>iirb
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
`sh'
(snip)

I reported this as CodePlex #1400. Please vote!
http://ironruby.codeplex.com/WorkItem/View.aspx?Wo...
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.