[Ironruby-core] FYI: Breaking changes in last push

Ivan Porto Carrero ivan at whiterabbitconsulting.eu
Thu Mar 4 12:53:48 EST 2010

This is for everybody's information:

If you're hosting IronRuby in a C# application then your code is likely to
break with IronRuby HEAD

The RubyContext class has gone away and the RequireRubyFile extension method
has been renamed.

var setup = new ScriptRuntimeSetup();
var scriptRuntime = Ruby.CreateRuntime(setup)
var loadPaths = new List<string>{ "lib", "bin" };

var engine = Ruby.GetEngine(scriptRuntime);

This means that you can't currently use ironrubymvc and ironnails with HEAD

Met vriendelijke groeten - Best regards - Salutations
Ivan Porto Carrero
Web: http://whiterabbitconsulting.eu - http://flanders.co.nz
Twitter: http://twitter.com/casualjim
Author of IronRuby in Action (http://manning.com/carrero)
Microsoft IronRuby/C# MVP
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20100304/51e00ea8/attachment.html>

More information about the Ironruby-core mailing list