Forum: IronRuby Git changes

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Ade8632553a9243ae05fc920f68644c1?d=identicon&s=25 Jim Deville (Guest)
on 2009-01-10 11:10
(Received via mailing list)
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
9d5a4bd314818560d935f2c1a4f0d2f2?d=identicon&s=25 Pete Bacon Darwin (Guest)
on 2009-01-10 15:00
(Received via mailing list)
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
Ade8632553a9243ae05fc920f68644c1?d=identicon&s=25 Jim Deville (Guest)
on 2009-01-10 21:05
(Received via mailing list)
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-bounces@rubyforge.org
[ironruby-core-bounces@rubyforge.org] On Behalf Of Pete Bacon Darwin
[bacondarwin@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
68f1bd9e9a7d9d10f0278c6535f700fe?d=identicon&s=25 Michael Letterle (Guest)
on 2009-01-11 05:54
(Received via mailing list)
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.
9d5a4bd314818560d935f2c1a4f0d2f2?d=identicon&s=25 Pete Bacon Darwin (Guest)
on 2009-01-11 09:59
(Received via mailing list)
Oops sorry.
806ef55917f436850d2c4b0a5703e7cc?d=identicon&s=25 Jirapong Nanta (jirapong)
on 2009-01-11 19:40
(Received via mailing list)
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
-------------------------------------------------------------------------------



















.














































































,























































































2















































































0
Ade8632553a9243ae05fc920f68644c1?d=identicon&s=25 Jim Deville (Guest)
on 2009-01-12 01:55
(Received via mailing list)
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
This topic is locked and can not be replied to.