# Re: Is it possible to run rake on the latest binary	release of IronRuby?

**URL:** <https://www.ruby-forum.com/t/re-is-it-possible-to-run-rake-on-the-latest-binary-release-of-ironruby/167610>\
**Category:** IronRuby\
**Created:** [May 10, 2009, 10:11am UTC](https://www.ruby-forum.com/t/re-is-it-possible-to-run-rake-on-the-latest-binary-release-of-ironruby/167610 "2009-05-10T10:11:08Z")\
**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:** [May 10, 2009, 10:11am UTC](https://www.ruby-forum.com/t/re-is-it-possible-to-run-rake-on-the-latest-binary-release-of-ironruby/167610/1 "2009-05-10T10:11:08Z")

</div>

The next time I push, that should be fixed. Tomas just implemented  
Method#to\_proc last week.

JD

…there is no try  
Sent from my phone. Please excuse typos and txtspk.

---

<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:** [May 10, 2009, 11:13pm UTC](https://www.ruby-forum.com/t/re-is-it-possible-to-run-rake-on-the-latest-binary-release-of-ironruby/167610/2 "2009-05-10T23:13:48Z")

</div>

Hi Jim

Cool! I’ll be waiting for that one then 🙂 Any idea when you’ll push  
it into the trunk? Also do you know if there is a guide for building  
IronRuby from scratch so that I can build it and get the fix?

Thanks

Patrick

---

<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:** [May 11, 2009, 12:11am UTC](https://www.ruby-forum.com/t/re-is-it-possible-to-run-rake-on-the-latest-binary-release-of-ironruby/167610/3 "2009-05-11T00:11:09Z")

</div>

Hi Jim

Thanks for that. I grabbed the sources from GitHub. For now I just  
grabbed a zip file as I just want to play around with IronRuby.

I followed the instructions on the website and managed to build the  
solution (using VS2008) just fine. No errors / warnings etc. I then  
copied all the binaries into another folder. I also copied the cmd  
files from the 0.3 release into that folder. I then tried to run irake  
but got another error:

C:\languages\ironruby\bin\>irake  
:0:in `require’: no such file to load – rubygems (LoadError)  
from C:/languages/ironruby/bin/irake:9

And when I try to run igem to install rake I get:

C:\languages\ironruby\bin\>igem install rake  
:0:in `require’: no such file to load – rubygems (LoadError)  
from C:/languages/ironruby/bin/igem:8

So any idea where I went wrong? I think I did all the steps in the  
right order but given that it’s not working I guess I didn’t entirely  
get it right ☹

Thanks heaps for all your help

Patrick

---

<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:** [May 10, 2009, 11:28pm UTC](https://www.ruby-forum.com/t/re-is-it-possible-to-run-rake-on-the-latest-binary-release-of-ironruby/167610/4 "2009-05-10T23:28:25Z")

</div>

Pushed it a little while ago. To build, follow the instructions here:  
[http://wiki.github.com/ironruby/ironruby/getting-the-sources](http://wiki.github.com/ironruby/ironruby/getting-the-sources) to get  
sources, then here: [http://wiki.github.com/ironruby/ironruby/building](http://wiki.github.com/ironruby/ironruby/building) to  
build. If you want to contribute back to the project, you can follow the  
instructions here: [http://wiki.github.com/ironruby/ironruby/contributing](http://wiki.github.com/ironruby/ironruby/contributing)

Hope that helps, feel free to ask if you need help.

JD

…there is no try

---

<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:** [May 11, 2009, 12:18am UTC](https://www.ruby-forum.com/t/re-is-it-possible-to-run-rake-on-the-latest-binary-release-of-ironruby/167610/5 "2009-05-11T00:18:10Z")

</div>

## if you extract the 0.3 release and copy the compiled binaries without the config file over it should be fine. Alternatively you can change the content of ir.exe.config to match your config. IronRuby needs to know the paths in which it can find stuff like rubygems.rb

Met vriendelijke groeten - Best regards - Salutations  
Ivan Porto C.  
GSM: +32.486.787.582  
Blog: [http://flanders.co.nz](http://flanders.co.nz)  
Twitter: [http://twitter.com/casualjim](http://twitter.com/casualjim)  
Author of IronRuby in Action ([http://manning.com/carrero](http://manning.com/carrero))

Bernard  
Baruch[http://www.brainyquote.com/quotes/authors/b/bernard\_baruch.html](http://www.brainyquote.com/quotes/authors/b/bernard_baruch.html)

- “Vote for the man who promises least; he’ll be the least  
disappointing.”

On Mon, May 11, 2009 at 12:03 AM, Patrick van der Velde \<

---

<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:** [May 11, 2009, 1:40am UTC](https://www.ruby-forum.com/t/re-is-it-possible-to-run-rake-on-the-latest-binary-release-of-ironruby/167610/6 "2009-05-11T01:40:00Z")

</div>

Hi Ivan

Obviously that worked 🙂 Thanks heaps!

Patrick

---

<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:** [May 11, 2009, 8:09am UTC](https://www.ruby-forum.com/t/re-is-it-possible-to-run-rake-on-the-latest-binary-release-of-ironruby/167610/7 "2009-05-11T08:09:44Z")

</div>

An implementation of Method#to\_proc already exists in  
Merlin/Main/Languages/Ruby/Libs/hacks.rb, so if Libs is on your path you  
can just “require ‘hacks’” to make rake work.
