[Ironruby-core] Problem running "rake compile"

Shannon Cornish shannoncornish at gmail.com
Tue Sep 18 23:07:59 EDT 2007


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 


More information about the Ironruby-core mailing list