Hi,

Is it possible to load (and execute) a Ruby script from within a C
extension?  From my Ruby code, I can just write

    .....
    load 'conf.rb'
    .....

and my configuration parameters are loaded at that point.  However, from a
C extension, when I wrote

    .....
    rb_load (rb_str_new2 ("conf.rb"), 0);
    .....

the program crashed.  The strange thins is, if I moved the code several
lines up, the program is OK, but it is not its correct place as the
configuration parameters will be rewritten by the defaults in the
extension itself.

Regards,

Bill