Ruby in a C# program

Hi!

Is there a way to embed a Ruby interpreter into a C# program? I can
call Ruby from C# fine, and then parse the console output, but I’m
wondering if there’s not a better way.

I have tried the Ruby .NET compiler here:
http://plas.fit.qut.edu.au/Ruby.NET/Download.aspx

…but I get “undefined Resolver in Syck” when trying to compile YAML.

Any ideas?

Les

Hi Les,

The pickaxe book gives a very good example of using Ruby from c. When
Ruby can be called from C, it can easily be called from C# using
P/Invoke.

Rgds,
Christian

Leslie V. skrev:

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs