Great progress on IronRuby! I wanted to give it a try and followed the "getting started" video. I got as far as the "rake compile", which stopped with the error "undefined method `exitstatus'' for nil:NilClas" (the trace is below). I took a quick look and couldn''t see anything obvious. Am I missing something? Thanks, Andrew Teare PS: Is the video supposed to have sound? Here''s the trace: C:\SVN\trunk>rake compile --trace (in C:/SVN/trunk) ** Invoke compile (first_time) ** Invoke clean_build (first_time) ** Execute clean_build rm -rf C:\SVN\trunk\release mkdir -p C:\SVN\trunk\release ** Invoke compile_dlr (first_time) ** Execute compile_dlr resgen "C:\SVN\trunk\src\microsoft.scripting\Math\MathResources.resx" "C:\SVN\trunk\release\Microsoft.Scripting.Math.Mat hResources.resources" rake aborted! undefined method `exitstatus'' for nil:NilClass c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:719:in `sh'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:726:in `call'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:726:in `sh'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:805:in `sh'' C:/SVN/trunk/rakefile:152:in `resgen'' C:/SVN/trunk/rakefile:152:in `each_pair'' C:/SVN/trunk/rakefile:152:in `resgen'' C:/SVN/trunk/rakefile:164:in `compile'' C:/SVN/trunk/rakefile:172:in `compile_all'' C:/SVN/trunk/rakefile:227 c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke'' c:/ruby/lib/ruby/1.8/thread.rb:135:in `synchronize'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:369:in `invoke_prerequisites'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in `each'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in `send'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in `each'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:368:in `invoke_prerequisites'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:361:in `invoke'' c:/ruby/lib/ruby/1.8/thread.rb:135:in `synchronize'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 c:/ruby/bin/rake.bat:25:in `load'' c:/ruby/bin/rake.bat:25 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20070918/c23346f7/attachment-0001.html
Hi Andrew, Try running the command using the Visual Studio 2005 Command Prompt shortcut. HTH, Shannon On 9/19/07, Andrew Teare <ateare at rogers.com> wrote:> > Great progress on IronRuby! I wanted to give it a try and followed the > "getting started" video. I got as far as the "rake compile", which stopped > with the error "undefined method `exitstatus'' for nil:NilClas" (the trace is > below). I took a quick look and couldn''t see anything obvious. Am I > missing something? > > > > Thanks, > > Andrew Teare > > > > PS: Is the video supposed to have sound? > > > > Here''s the trace: > > C:\SVN\trunk>rake compile --trace > > (in C:/SVN/trunk) > > ** Invoke compile (first_time) > > ** Invoke clean_build (first_time) > > ** Execute clean_build > > rm -rf C:\SVN\trunk\release > > mkdir -p C:\SVN\trunk\release > > ** Invoke compile_dlr (first_time) > > ** Execute compile_dlr > > resgen "C:\SVN\trunk\src\microsoft.scripting\Math\MathResources.resx" > "C:\SVN\trunk\release\Microsoft.Scripting.Math.Mat > > hResources.resources" > > rake aborted! > > undefined method `exitstatus'' for nil:NilClass > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:719:in `sh'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:726:in `call'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:726:in `sh'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:805:in `sh'' > > C:/SVN/trunk/rakefile:152:in `resgen'' > > C:/SVN/trunk/rakefile:152:in `each_pair'' > > C:/SVN/trunk/rakefile:152:in `resgen'' > > C:/SVN/trunk/rakefile:164:in `compile'' > > C:/SVN/trunk/rakefile:172:in `compile_all'' > > C:/SVN/trunk/rakefile:227 > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke'' > > c:/ruby/lib/ruby/1.8/thread.rb:135:in `synchronize'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:369:in > `invoke_prerequisites'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in `each'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in `send'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in `each'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:368:in > `invoke_prerequisites'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:361:in `invoke'' > > c:/ruby/lib/ruby/1.8/thread.rb:135:in `synchronize'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exception_handling'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in > `standard_exception_handling'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' > > c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 > > c:/ruby/bin/rake.bat:25:in `load'' > > c:/ruby/bin/rake.bat:25 > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core at rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > >-------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20070919/ba48e883/attachment.html
I was using that, so I double checked and the path is not setup properly. Turns out that .net 2.0 is not present either after I re-installed Windows a few days ago. Thanks for the advice. I''ll let you know if I have any problems once I get my PC setup properly. Andrew _____ From: Shannon Cornish [mailto:shannoncornish at gmail.com] Sent: Tuesday, September 18, 2007 11:08 PM To: ironruby-core at rubyforge.org Subject: Re: [Ironruby-core] Problem running "rake compile" Hi Andrew, Try running the command using the Visual Studio 2005 Command Prompt shortcut. HTH, Shannon On 9/19/07, Andrew Teare < ateare at rogers.com <mailto:ateare at rogers.com> > wrote: Great progress on IronRuby! I wanted to give it a try and followed the "getting started" video. I got as far as the "rake compile", which stopped with the error "undefined method `exitstatus'' for nil:NilClas" (the trace is below). I took a quick look and couldn''t see anything obvious. Am I missing something? Thanks, Andrew Teare PS: Is the video supposed to have sound? Here''s the trace: C:\SVN\trunk>rake compile --trace (in C:/SVN/trunk) ** Invoke compile (first_time) ** Invoke clean_build (first_time) ** Execute clean_build rm -rf C:\SVN\trunk\release mkdir -p C:\SVN\trunk\release ** Invoke compile_dlr (first_time) ** Execute compile_dlr resgen "C:\SVN\trunk\src\microsoft.scripting\Math\MathResources.resx" "C:\SVN\trunk\release\Microsoft.Scripting.Math.Mat hResources.resources" rake aborted! undefined method `exitstatus'' for nil:NilClass c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:719:in `sh'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:726:in `call'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:726:in `sh'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:805:in `sh'' C:/SVN/trunk/rakefile:152:in `resgen'' C:/SVN/trunk/rakefile:152:in `each_pair'' C:/SVN/trunk/rakefile:152:in `resgen'' C:/SVN/trunk/rakefile:164:in `compile'' C:/SVN/trunk/rakefile:172:in `compile_all'' C:/SVN/trunk/rakefile:227 c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `call'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `each'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:392:in `execute'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:362:in `invoke'' c:/ruby/lib/ruby/1.8/thread.rb:135:in `synchronize'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:369:in `invoke_prerequisites'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in `each'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in `send'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1003:in `each'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:368:in `invoke_prerequisites'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:361:in `invoke'' c:/ruby/lib/ruby/1.8/thread.rb:135:in `synchronize'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:355:in `invoke'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `each'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1739:in `top_level'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1733:in `top_level'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1711:in `run'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1761:in `standard_exception_handling'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1708:in `run'' c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/bin/rake:7 c:/ruby/bin/rake.bat:25:in `load'' c:/ruby/bin/rake.bat:25 _______________________________________________ Ironruby-core mailing list Ironruby-core at rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core -------------- next part -------------- An HTML attachment was scrubbed... URL: http://rubyforge.org/pipermail/ironruby-core/attachments/20070922/f4997e9f/attachment-0001.html