Hi,

At Sun, 20 Aug 2006 08:40:19 +0900,
Daniel Harple wrote in [ruby-talk:209438]:
> Well, that was dumb of me. This worked:
> 
> NSBundle *bundle = [NSBundle mainBundle];
> NSString *path = [NSString stringWithFormat:@"%@/../Resources/ruby",  
> [bundle pathForAuxiliaryExecutable:@"My App"]];
> VALUE load_path = rb_gv_get("$:");
> rb_ary_push(load_path, rb_str_new2([[NSString stringWithFormat:@"%@/% 
> s", path, "site_ruby/1.8"] UTF8String]));

Or, you can use ruby_incpush(), which splits path list with
path separator.

-- 
Nobu Nakada