Hi Everyone
I’m trying to embed Ruby as the scripting engine into a project of
mine. The project is written in Borland C++ Builder (Codergear Turbo
C++ actually). I searched around for clues on embedding Ruby in C++
Builder but the main link I found was frm 2003 and is this one:
http://blade.nagaokaut.ac.jp/cgi-bin/scat.rb/ruby/ruby-talk/71319
Is there a more recent guide for this?
I’ve looked at PickAxe 2 and there’s a piece of code there that explains
how to embed Ruby (PickAxe 1 has it here)
http://www.rubycentral.com/pickaxe/ext_ruby.html
This includes “ruby.h” which I found in my distribution at:
ruby\src\ruby-1.8.6 and “ruby.h” starts by including “config.h” which it
can’t find. I can’t find any information on where to provide it from.
I know Windows is less common and Borland C++ Builder even less so, but
a bit of a nudge in the correct direction would help.
Thanks,
Mohit.