Jul 24 2009

IronRuby with XBuild

Category: Mono,xbuildankitj @ 2:04 am

I found a mailing list post saying that IronRuby doesn’t build with xbuild (mono’s implementation of msbuild). So, I decided to give it a shot with latest xbuild. I tried the git repo git://github.com/ironruby/ironruby.git with mono 2.4.2.1, and after a few minor filename casing changes, it builds successfully !

jredville confirmed that the built binaries pass their language test suite :)

The patch is being reviewed by cj and jredville at #ironruby/freenode.

To try it yourself, apply the patch, and build as:
$ cd ironruby/Merlin/Main/Languages/Ruby
$ xbuild Ruby.sln /p:TreatWarningsAsErrors=false

The binaries are in “ironruby/Merlin/Main/Bin/Debug”.
$ mono ir.exe
:)

3 Responses to “IronRuby with XBuild”

  1. C.J. Adams-Collier says:

    Yay! More publicity here:

    http://wp.colliertech.org/cj/?p=537

    Thanks a bunch, Ankit. I’ve been looking for inspiration to get that deb package built…

  2. ankitj says:

    Thanks and great to see the tarballs :)

  3. A Ninja Kit » xbuild and Mono 2.6p1 says:

    [...] satellite assemblies, project references etc. Some opensource projects that work fine with xbuild : IronRuby, IronPython, OpenTK, etc. Note: Multi-targeting is not implemented yet, but it should be available [...]

Leave a Reply