R
Rolando Abarca
Hello all,
I'm trying to embedd ruby, so far this is what I have:
ruby_init();
ruby_init_loadpath();
ruby_script("embedded");
rb_load_file("my_script.rb");
ruby_run();
/* rest of my app here */
However, ruby is taking control of my code after calling ruby_run,
since it will always call "exit" after executing the code... is there
a way to not exit after executing the ruby code?
thanks a lot,
I'm trying to embedd ruby, so far this is what I have:
ruby_init();
ruby_init_loadpath();
ruby_script("embedded");
rb_load_file("my_script.rb");
ruby_run();
/* rest of my app here */
However, ruby is taking control of my code after calling ruby_run,
since it will always call "exit" after executing the code... is there
a way to not exit after executing the ruby code?
thanks a lot,