On Mon, 2002-08-05 at 15:18, William Djaja Tjokroaminata wrote:
> Hi,
> 
> Yes, in my application, initially it is a Ruby script that calls my C
> extension, as a user will run it as
> 
>     ruby my_script.rb
> 
> and in "my_script.rb" the user has to put "require
> 'my_extension'".  However, the configuration file is written in Ruby,
> which is invoked by my_extension.  It is this part which is not working.
> 
> Is there another solution to this ruby->C->ruby file sequence problem?
> 

Why go ruby->C->ruby?  Why not do
1) parse the file
2) require your extension
3) send the parsed data to extension?

/Erik
-- 
Erik BéČfors               | erik / bagfors.nu
Supporter of free software | GSM +46 733 279 273
fingerprint: 6666 A85B 95D3 D26B 296B 6C60 4F32 2C0B 693D 6E32