This is a duplicate post of http://rubydoes.net/2008/12/30/building-ironruby-with-mono/
IronRuby comes in 2 flavours of SCM and apparently also with 2 flavours of project layout.
I spend most of my time on the mac and I wanted to be able to test ironruby stuff on it too. I tried to build IronRuby on my mac which doesn’t work straight away you have to patch it a little to make it work.
If you’re using the svn version then you can use the patch created by Seo Sanghyeon.
For me the linux branch didn’t want to work and so I forked the ironruby repository too, created a branch called mono. My version is also up on github.
If you’re going to use the git layout of IronRuby, which is practically the same as what the IronRuby team uses at Microsoft. You’ll have to set an environment variable MERLIN_ROOT . I use a .bashrc file and added the following line to it:
Now how do you get to those git branches?
Start a terminal session.
I have a directory src in which i download and compile sources. So I navigated into that directory src.
You will also need a version of ruby installed, rake and the pathname2 gem
It won’t work with the latest release of mono. I’m using the trunk version of mono to build ironruby. I’ve got instructions that could show you how to compile mono here.