Rake happy is supposed to require rake 0.8.3. Unfortunately, that won't work because rake is already running. I'm looking into different solutions for this and I'll try to find something that gives a better error for rake version mismatch.
JD -----Original Message----- From: ironruby-core-boun...@rubyforge.org [mailto:ironruby-core-boun...@rubyforge.org] On Behalf Of jirapong.na...@gmail.com Sent: Sunday, January 11, 2009 10:22 AM To: ironruby-core@rubyforge.org Subject: Re: [Ironruby-core] Git changes Hi all, on windows. I found that rake-0.7.3 (installed on Ruby One-click installer) give following error. should it be require like the "pathname2"? C:\dotNET\ironruby\Merlin\Main\Languages\Ruby>rake compile (in C:/dotNET/ironruby/Merlin/Main/Languages/Ruby) rake aborted! wrong number of arguments (2 for 1) c:/ruby/lib/ruby/gems/1.8/gems/rake-0.7.3/lib/rake.rb:1944:in `raw_load_rakefile' (See full trace by running task with --trace) C:\dotNET\ironruby\Merlin\Main\Languages\Ruby>gem update rake Updating installed gems Updating rake Successfully installed rake-0.8.3 Gems updated: rake C:\dotNET\ironruby\Merlin\Main\Languages\Ruby>rake compile (in C:/dotNET/ironruby/Merlin/Main/Languages/Ruby) c:\dotnet\ironruby\merlin\main\languages\ruby c:\dotnet\ironruby\merlin\main\languages\ruby ------------------------------------------------------------------------------- dlr_core ------------------------------------------------------------------------------- ------------------------------------------------------------------------------- dlr_core ------------------------------------------------------------------------------- . , 3;0 2 0 0-h:mm:ss tt:000AM On Jan 11, 2009, at 2:52 AM, Jim Deville wrote: > Pete, > > Do you have MERLIN_ROOT set in your env vars? It needs to be set to > D:\dev\ruby\ironruby\git_ironruby\Merlin\Main > > This is going to be a requirement until we close the SVN repo and > start pulling out the supporting code. > > JD > ________________________________________ > From: ironruby-core-boun...@rubyforge.org > [ironruby-core-boun...@rubyforge.org > ] On Behalf Of Pete Bacon Darwin [bacondar...@googlemail.com] > Sent: Saturday, January 10, 2009 5:52 AM > To: ironruby-core@rubyforge.org > Subject: Re: [Ironruby-core] Git changes > > Just in case anyone is getting stuck with this too: > - You need rake 0.8.3 to compile IronRuby. (It doesn't like the > parameterized tasks in git.rake with 0.8.1.) > - Also gems.rubyforge.org is no longer compatible with gem 1.1 so > you have > to manually upgrade gem before you can do gem update rake. > Phew! > > Now my rake compile is failing on building dlr_core: > - It can't find the file > "merlin\main\languages\ruby\src\microsoft.scripting.core" > Since it doesn't exist... > Trace from rake is below. > Pete > > D:\dev\ruby\ironruby\git_ironruby\merlin\main\Languages\Ruby>rake > compile > --trace > (in D:/dev/ruby/ironruby/git_ironruby/merlin/main/Languages/Ruby) > ** Invoke compile (first_time) > ** Invoke happy (first_time) > ** Execute happy > ** Invoke clean_build (first_time) > ** Invoke happy > ** Execute clean_build > ** Invoke compile_dlr (first_time) > ** Invoke compile_extension_attributes (first_time) > ** Invoke clean_build > ** Execute compile_extension_attributes > ---------------------------------------------------------------------------- > --- > dlr_core > ---------------------------------------------------------------------------- > --- > rake aborted! > No such file or directory - > d:\dev\ruby\ironruby\git_ironruby\merlin\main\languages\ruby\src\micr > ./context.rb:532:in `chdir' > ./context.rb:532:in `compile' > D:/dev/ruby/ironruby/git_ironruby/merlin/main/Languages/Ruby/rake/ > compile.ra > ke:28 > ./context.rb:712:in `instance_eval' > ./context.rb:712:in `source_context' > D:/dev/ruby/ironruby/git_ironruby/merlin/main/Languages/Ruby/rake/ > compile.ra > ke:27 > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `call' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:617:in `execute' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `each' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:612:in `execute' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:578:in > `invoke_with_call_chain' > d:/ruby/lib/ruby/1.8/monitor.rb:238:in `synchronize' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in > `invoke_with_call_chain' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:588:in > `invoke_prerequisites' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in `each' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in > `invoke_prerequisites' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:577:in > `invoke_with_call_chain' > d:/ruby/lib/ruby/1.8/monitor.rb:238:in `synchronize' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in > `invoke_with_call_chain' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:588:in > `invoke_prerequisites' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in `each' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:585:in > `invoke_prerequisites' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:577:in > `invoke_with_call_chain' > d:/ruby/lib/ruby/1.8/monitor.rb:238:in `synchronize' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:571:in > `invoke_with_call_chain' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:564:in `invoke' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2019:in > `invoke_task' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in > `top_level' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in `each' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1997:in > `top_level' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > `standard_exception_handling' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1991:in > `top_level' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1970:in `run' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:2036:in > `standard_exception_handling' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/lib/rake.rb:1967:in `run' > d:/ruby/lib/ruby/gems/1.8/gems/rake-0.8.3/bin/rake:31 > d:/ruby/bin/rake:19:in `load' > d:/ruby/bin/rake:19 > > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core@rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core > > _______________________________________________ > Ironruby-core mailing list > Ironruby-core@rubyforge.org > http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core