# Re: Cannot rake compile rev 78

**URL:** <https://www.ruby-forum.com/t/re-cannot-rake-compile-rev-78/132323>\
**Category:** IronRuby\
**Created:** [March 19, 2008, 5:37am UTC](https://www.ruby-forum.com/t/re-cannot-rake-compile-rev-78/132323 "2008-03-19T05:37:15Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![John\_LSSDLR](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/5f8ce5/32.png) [@John\_LSSDLR](https://www.ruby-forum.com/u/John_LSSDLR)\
**Post date:** [March 19, 2008, 5:37am UTC](https://www.ruby-forum.com/t/re-cannot-rake-compile-rev-78/132323/1 "2008-03-19T05:37:15Z")

</div>

Can you try rake compile test=true and capture the output and send it  
along? This will dump the cmd klines.

- John  
Sent from my phone

* * *

From: Philippe M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Sent: Tuesday, March 18, 2008 9:07 PM  
To: removed\_email\_address@domain.invalid [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
Subject: Re: [Ironruby-core] Cannot rake compile rev 78

Hi John,

Thanks for the quick post back! I installed Ruby using the One-Click  
Installer.  
I am not using cygwin.

Philippe

John L. (DLR) wrote:  
Is this a cygwin install of CRuby or is it the One Click Installer  
version of Ruby?

From:  
removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Philippe  
Monnet  
Sent: Tuesday, March 18, 2008 8:36 PM  
To: IronRuby  
Subject: [Ironruby-core] Cannot rake compile rev 78

Although I had been able to compile the original version of IronRuby,  
since rev 77 I can no longer build it. After having issues building rev  
77, I wiped out my setup and did a fresh new install of rev 78. But I  
still cannot build (see below).  
I am running on Windows XP, with the .NET framework as well as the .NET  
SDK.  
What should I do to address this?

Philippe

F:\Dev\DotNet\IronRuby\trunk\>rake compile --trace  
(in F:/Dev/DotNet/IronRuby/trunk)  
\*\* Invoke compile (first\_time)  
\*\* Invoke happy (first\_time)  
\*\* Execute happy  
\*\* Invoke clean\_build (first\_time)  
\*\* Execute clean\_build  
\*\* Invoke compile\_dlr (first\_time)  
\*\* Execute compile\_dlr  
Read in 17 resources from  
“F:\Dev\DotNet\IronRuby\trunk\src\microsoft.scripting\Math\MathResources.resx”  
Writing resource file… Done.  
Read in 49 resources from  
“F:\Dev\DotNet\IronRuby\trunk\src\microsoft.scripting\Resources.resx”  
Writing resource file… Done.  
rake aborted!  
Command failed with status (0): [csc /nologo /noconfig  
/nowarn:1591,1701,17…]  
C:/Program  
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:899:in  
`sh' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:906:in `call’  
C:/Program  
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:906:in  
`sh' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:985:in `sh’  
F:/Dev/DotNet/IronRuby/trunk/rakefile:197:in `exec' F:/Dev/DotNet/IronRuby/trunk/rakefile:239:in `csc’  
F:/Dev/DotNet/IronRuby/trunk/rakefile:247:in `compile' F:/Dev/DotNet/IronRuby/trunk/rakefile:253:in `compile\_all’  
F:/Dev/DotNet/IronRuby/trunk/rakefile:527  
C:/Program  
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in  
`call' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:546:in `execute’  
C:/Program  
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in  
`each' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `execute’  
C:/Program  
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:508:in  
`invoke_with_call_chain' C:/Program Files/ruby-1.8.5/lib/ruby/1.8/thread.rb:135:in `synchronize’  
C:/Program  
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in  
`invoke_with_call_chain' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:518:in `invoke\_prerequisites’  
C:/Program  
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in  
`each' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in `send’  
C:/Program  
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1183:in  
`each' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:515:in `invoke\_prerequisites’  
C:/Program  
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:507:in  
`invoke_with_call_chain' C:/Program Files/ruby-1.8.5/lib/ruby/1.8/thread.rb:135:in `synchronize’  
C:/Program  
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:501:in  
`invoke_with_call_chain' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:494:in `invoke’  
C:/Program  
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1931:in  
`invoke_task' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top\_level’  
C:/Program  
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in  
`each' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1909:in `top\_level’  
C:/Program  
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in  
`standard_exception_handling' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1903:in `top\_level’  
C:/Program  
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in  
`run' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1948:in `standard\_exception\_handling’  
C:/Program  
Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1878:in  
`run' C:/Program Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/bin/rake:31 C:/Program Files/ruby-1.8.5/bin/rake.bat:25:in `load’  
C:/Program Files/ruby-1.8.5/bin/rake.bat:25

* * *

---

<div class="post-metadata">

**Author:** ![John\_LSSDLR](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/5f8ce5/32.png) [@John\_LSSDLR](https://www.ruby-forum.com/u/John_LSSDLR)\
**Post date:** [March 19, 2008, 5:46am UTC](https://www.ruby-forum.com/t/re-cannot-rake-compile-rev-78/132323/2 "2008-03-19T05:46:03Z")

</div>

new results file attached

---

<div class="post-metadata">

**Author:** ![John\_LSSDLR](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/5f8ce5/32.png) [@John\_LSSDLR](https://www.ruby-forum.com/u/John_LSSDLR)\
**Post date:** [March 19, 2008, 5:03pm UTC](https://www.ruby-forum.com/t/re-cannot-rake-compile-rev-78/132323/3 "2008-03-19T17:03:56Z")

</div>

I’m pretty new to Ruby and IronRuby. I was just wondering, why does  
Ruby  
even need to be installed? I can compile the source for IronRuby just  
fine  
without Ruby. Unless I had already installed Ruby and forgot. I’m not  
at  
home so I can’t check.

Anyway, I was under the assumption that IronRuby is independent of  
external  
libraries/dll’s besides Microsoft Scripting.

Perhaps the source for Ruby itself is included in the IR project ?

On Wed, Mar 19, 2008 at 12:45 AM, Ivan Porto C.  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![John\_LSSDLR](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/5f8ce5/32.png) [@John\_LSSDLR](https://www.ruby-forum.com/u/John_LSSDLR)\
**Post date:** [March 19, 2008, 5:08pm UTC](https://www.ruby-forum.com/t/re-cannot-rake-compile-rev-78/132323/4 "2008-03-19T17:08:06Z")

</div>

You don’t need Ruby if you’re compiling via Visual Studio or MSBuild.  
You DO need an existing Ruby installation if you want to use rake,  
since that’s a ruby library that IronRuby can’t run yet. 🙂

On Wed, Mar 19, 2008 at 12:01 PM, Matthew M. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> wrote:
> 
> > > Sent: Tuesday, March 18, 2008 9:07 PM
> 
> version of Ruby?
> 
> > > From: removed\_email\_address@domain.invalid  
> > > cannot build (see below).  
> > > \*\* Execute happy  
> > > rake aborted!  
> > > F:/Dev/DotNet/IronRuby/trunk/rakefile:197:in `exec' Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:541:in `each’  
> > > C:/Program  
> > > `each' C:/Program `each’  
> > > Files/ruby-1.8.5/lib/ruby/gems/1.8/gems/rake-0.8.1/lib/rake.rb:1881:in `run’
> 
> > > [http://rubyforge.org/mailman/listinfo/ironruby-core](http://rubyforge.org/mailman/listinfo/ironruby-core)
> 
> * * *
> 
> Ironruby-core mailing list  
> removed\_email\_address@domain.invalid  
> [http://rubyforge.org/mailman/listinfo/ironruby-core](http://rubyforge.org/mailman/listinfo/ironruby-core)

–  
Michael L.  
[Polymath Prokrammer]  
[http://blog.prokrams.com](http://blog.prokrams.com)

---

<div class="post-metadata">

**Author:** ![John\_LSSDLR](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/5f8ce5/32.png) [@John\_LSSDLR](https://www.ruby-forum.com/u/John_LSSDLR)\
**Post date:** [March 19, 2008, 6:50pm UTC](https://www.ruby-forum.com/t/re-cannot-rake-compile-rev-78/132323/5 "2008-03-19T18:50:57Z")

</div>

On Wed, Mar 19, 2008 at 10:06 AM, Michael L. \<  
removed\_email\_address@domain.invalid\> wrote:

> You don’t need Ruby if you’re compiling via Visual Studio or MSBuild.

I may be wrong, but I think you do need Ruby. You can’t just compile  
the  
code you get from SVN. You need to run ‘rake gen’ to generate the other  
files first.

You DO need an existing Ruby installation if you want to use rake,

---

<div class="post-metadata">

**Author:** ![John\_LSSDLR](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/5f8ce5/32.png) [@John\_LSSDLR](https://www.ruby-forum.com/u/John_LSSDLR)\
**Post date:** [March 19, 2008, 7:28pm UTC](https://www.ruby-forum.com/t/re-cannot-rake-compile-rev-78/132323/6 "2008-03-19T19:28:50Z")

</div>

You don’t really need the Rakefile - it’s there for convenience. Rake  
gen can be done by running GenerateInitializers.cmd.

From: removed\_email\_address@domain.invalid  
[[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)] On Behalf Of Mike M.  
Sent: Wednesday, March 19, 2008 10:49 AM  
To: removed\_email\_address@domain.invalid  
Subject: Re: [Ironruby-core] Cannot rake compile rev 78

On Wed, Mar 19, 2008 at 10:06 AM, Michael L.  
\<removed\_email\_address@domain.invalid[mailto:removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)\> wrote:  
You don’t need Ruby if you’re compiling via Visual Studio or MSBuild.

I may be wrong, but I think you do need Ruby. You can’t just compile  
the code you get from SVN. You need to run ‘rake gen’ to generate the  
other files first.  
You DO need an existing Ruby installation if you want to use rake,  
since that’s a ruby library that IronRuby can’t run yet. 🙂
