On 08/02/06, Asfand Yar Qazi <ayZIG0106 / qazizig.f2szig.com> wrote:
> But what about when embedding Ruby in my app?  How do I handle module paths then?
>

After initializing the interpreter you can use rb_eval_string() to
execute arbitrary Ruby statements and, for example, setup your library
path by executing (from memory):

rb_eval_string( "$:.clear" );
rb_eval_string( "$: << "my library path" );

Regards,

Matt

--
Matt Mower :: http://matt.blogs.it/