I plan to use Ruby as a scripting language inside of a testing tool that we
use internally. I was following the recipe as on page 187 of the pick-axe book.
 
I got it all to link (in VC++ 6.0 on Win NT 4.0) and I call 
 
ruby_init()
ruby_script("embedded");
rb_load_file("test.rb");
 
when the program starts
 
and then I call 
 
ruby_run();
 
on a timer. Unfortunately it never returns from the call to ruby_run().
ruby_run() calls ruby_stop() which calls exit() and viola! the program
exits!
 
I am doing something wrong?
 
Steve