[Ironruby-core] how to initialize iron ruby from c#

Thibaut Barrère thibaut.barrere at gmail.com
Sat Feb 7 19:20:48 EST 2009

> Hi there,
> I am trying to initialize an iron ruby engine for execution of code
> snipptes from a c# application. extensive googling has not helped me with
> the task because there seem to have been much changes in iron ruby lately.
> Here is my code:
> var runtime = Ruby.CreateRuntime();
> var engine = m_runtime.GetEngine("IronRuby"); // <---
> InvalidImplementationException is thrown here

not sure if it will solve your issue, but here's what I'm using (worked a
few days ago - code snippet sent by Tomas Matousek):

var engine = IronRuby.Ruby.CreateEngine();


-- Thibaut
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://rubyforge.org/pipermail/ironruby-core/attachments/20090208/2c3e5946/attachment.html>

More information about the Ironruby-core mailing list