Ruby in a C# program


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:

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

Any ideas?


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


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