From: ts Date: 2004-07-14T23:04:13+09:00 Subject: Re: No Subject >>>>> "J" == Jesse van den Kieboom writes: J> This worked okay when I rb_required the file. But now that I'm using J> rb_load_file this fails. I suppose the register_functions from the J> loaded file is not sitting in the rb_mKernel module than?: The loaded file need to call the register_functions, i.e. rather than define a register_function the file must call any method that it want J> What should I specify for 'module' in the rb_funcall? You can't specify a module : the module don't exist after the load this is why ruby lost the definitions. Guy Decoux