From: Cary Fitzhugh Date: 2008-11-05T03:41:24+09:00 Subject: Re: Wrapping ruby into one directory I also found in ruby.c: ruby_init_loadpath() If I wanted to really make things locked down, I guess that I could change that to not use any hardcoded paths, and just make everything relative to the location of the binary. add the binary directory/../lib/..... I think that might work - any comments? Cary Robert Dober wrote: > As long as you install from source that should not be a problem, I > have done it before to carry my Ruby with me on a thumbdrive.* > > When you do > ./configure --help > you will see a lot of different options, but if IIRC, all you have to do is > > ./configure --prefix=/myspecial/dir > > And you can call your ruby with a full path then. > > HTH > Robert