From: David Garamond Date: 2004-03-04T01:54:48+09:00 Subject: Re: non-root binary distribution nobu.nokada@softhome.net wrote: >>Is there a binary .tar.gz or a relocatable RPM for ruby 1.8.x which can >>be installed onto a custom per-user directory without requiring root >>privilege? I find it easy to do this with the mswin32 version. > > Ruby embeds absolute load paths, for the sake of UNIX tradition > and security issue. > > However, it might not be major problem if $SAFE == 0, so you > could make relocatable binary with the following path and > --enable-load-relative configure option, if you use /proc fs on > linux. Thanks, it works beautifully. The only thing left is that a user needs to do: % LD_LIBRARY_PATH=/path/to/his/ruby/lib /path/to/his/ruby/bin/ruby (or set LD_LIBRARY_PATH in his ~/.bash_profile) otherwise ruby can't find libruby.so. Is there a way to avoid/get around this? -- dave