OK, so any word on the current status of embedding MRI into an 
application on recent systems, like Win 8.1? So far any combination of 
MRI version and toolchain I've tried resulted in unexplained segfaults.

I'd like to explore this path too as much as possible.

thanks
mortee

On 2015.03.27. 20:02, Recursive Madman wrote:
> are you familiar with this document?
> https://github.com/ruby/ruby/blob/trunk/doc/extension.rdoc#initialize-and-start-the-interpreter
>
> -rec/mm
>
> On Fri, 2015-03-27 at 19:30 +0100, mortee wrote:
>> Hi folks,
>>
>> I'm doing research on what are the current options to embed a ruby
>> interpreter in an application written in C (on Windows)? About five
>> years ago I successfully embedded MRI 1.8.7 in my app on WinXP, and I
>> could achieve pretty cool stuff with it.
>>
>> Now the same subject came up, and I was quite disappointed to find that
>> that there seems to be no longer a definitive and proven way to do this
>> with MRI 2.0 and up; and also every version I tried starting from 1.8.7,
>> whether statically or dynamically linked, using either MinGW or Cygwin
>> toolchain, and any combination of the various C embedding sample codes,
>> it segfaults upon init on Windows 8.1.
>>
>> I learned about MRuby, which seems pretty cool, and I was able to run
>> some hello world code using it, but it's really undocumented. I was
>> unable to do as much as get a string ruby constant's value as a C string
>> - so communication between the two worlds needs some explanation, as
>> well as how one can have a more complete ruby environment (standard lib,
>> require and stuff).
>>
>> Any explanation, pointers welcome!
>>
>> thanks
>> mortee
>