From: Cary Fitzhugh Date: 2008-11-05T02:48:17+09:00 Subject: Re: Wrapping ruby into one directory Thanks. Can I move /myspecial/dir to /mynewspcial/dir/45 and it still runs just fine? Doesn't this hard-code the locations of those files into the binary somewhere? I mean, ruby needs to know where to look for it's /site/1.8 libs... is that hardcoded, or is it possible that that is a relative path... how cool would that be. I guess I have the source so I could change that. Anyone have any idea where in the ruby source it puts that value? Thanks, 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