Git changes


#1

I’ve gone through and renamed files in Git. I’ve also rm’d the extra
files. The renames will probably break builds on Mono, but I don’t have
the head of Mono built. I’ll push today’s changes tomorrow.

JD


#2

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:incompile’
D:/dev/ruby/ironruby/git_ironruby/merlin/main/Languages/Ruby/rake/compile.ra
ke:28
./context.rb:712:in instance_eval' ./context.rb:712:insource_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:inexecute’
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:inexecute’
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:insynchronize’
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:ininvoke_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:ininvoke_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:insynchronize’
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:ininvoke_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:ininvoke_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:insynchronize’
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:ininvoke’
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:intop_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:intop_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:intop_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:instandard_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:inload’
d:/ruby/bin/rake:19


#3

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: removed_email_address@domain.invalid
[removed_email_address@domain.invalid] On Behalf Of Pete Bacon D.
[removed_email_address@domain.invalid]
Sent: Saturday, January 10, 2009 5:52 AM
To: removed_email_address@domain.invalid
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:incompile’
D:/dev/ruby/ironruby/git_ironruby/merlin/main/Languages/Ruby/rake/compile.ra
ke:28
./context.rb:712:in instance_eval' ./context.rb:712:insource_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:inexecute’
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:inexecute’
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:insynchronize’
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:ininvoke_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:ininvoke_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:insynchronize’
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:ininvoke_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:ininvoke_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:insynchronize’
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:ininvoke’
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:intop_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:intop_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:intop_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:instandard_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:inload’
d:/ruby/bin/rake:19


Ironruby-core mailing list
removed_email_address@domain.invalid
http://rubyforge.org/mailman/listinfo/ironruby-core


#4

Oops sorry.


#5

Hi all,
on windows. I found that rake-0.7.3 (installed on Ruby O.-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

.

,

2

0


#6

linux/mono branch updated with new push:
http://github.com/TheProkrammer/ironruby/tree/linux

I also fixed the issue with not being able to run an rb file from the
command line (simple fix really).

Note too, that for some strange reason the REPL doesn’t output the
result of
the current line, haven’t investigated yet, but it’s not a show stopper.

TestRunner isn’t compiled either due to some extension method weirdness.
I’m going to get specs running.


#7

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