.netbuild-processrakeironruby

Bin deploy rake (and IronRuby)


I'm on a .NET project, and I would like to migrate build script from MsBuild to Rake. I don't want to force developers (or build agent machines) to have to install anything, I want it to be self contained. If possible I'd prefer to use IronRuby.

Is it possible to just drop everything in /tools/rake and /tools/IronRuby and have it just work, the way everyone does with NAnt?

I would appreciate any pointers to tutorials on this or blogposts. I'm a complete noob when it comes to Ruby, rake and these gem things.


Solution

  • Yes it is possible, but you pay the cost of bringing the IronRuby runtime with you. That's about 2300 files to deploy so you'd need to pack 7zip with your lib to unpack IronRuby.

    I did something similar where I wanted to pack LessCss with IronRuby in one managed wrapper. Turned out to be a totally impracticable solution:

    http://www.tigraine.at/2009/08/24/introducing-ironlessnet-your-duct-tape-solution-to-lesscss-in-aspnet/

    greetings Daniel