# Git changes

**URL:** <https://www.ruby-forum.com/t/git-changes/157383>\
**Category:** IronRuby\
**Created:** [January 10, 2009, 11:10am UTC](https://www.ruby-forum.com/t/git-changes/157383 "2009-01-10T11:10:56Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![raker\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Post date:** [January 10, 2009, 11:10am UTC](https://www.ruby-forum.com/t/git-changes/157383/1 "2009-01-10T11:10:56Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![raker\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Post date:** [January 10, 2009, 3:00pm UTC](https://www.ruby-forum.com/t/git-changes/157383/2 "2009-01-10T15:00:41Z")

</div>

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](http://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

---

<div class="post-metadata">

**Author:** ![raker\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Post date:** [January 10, 2009, 9:05pm UTC](https://www.ruby-forum.com/t/git-changes/157383/3 "2009-01-10T21:05:02Z")

</div>

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](http://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  
removed\_email\_address@domain.invalid  
[http://rubyforge.org/mailman/listinfo/ironruby-core](http://rubyforge.org/mailman/listinfo/ironruby-core)

---

<div class="post-metadata">

**Author:** ![raker\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Post date:** [January 11, 2009, 9:59am UTC](https://www.ruby-forum.com/t/git-changes/157383/4 "2009-01-11T09:59:13Z")

</div>

Oops sorry.

---

<div class="post-metadata">

**Author:** ![raker\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Post date:** [January 11, 2009, 7:40pm UTC](https://www.ruby-forum.com/t/git-changes/157383/5 "2009-01-11T19:40:38Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![raker\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Post date:** [January 11, 2009, 5:54am UTC](https://www.ruby-forum.com/t/git-changes/157383/6 "2009-01-11T05:54:51Z")

</div>

linux/mono branch updated with new push:  
[http://github.com/TheProkrammer/ironruby/tree/linux](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.

---

<div class="post-metadata">

**Author:** ![raker\_t](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/ecae2f/32.png) [@raker\_t](https://www.ruby-forum.com/u/raker_t)\
**Post date:** [January 12, 2009, 1:55am UTC](https://www.ruby-forum.com/t/git-changes/157383/7 "2009-01-12T01:55:22Z")

</div>

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
