From: ts Date: 2000-12-20T18:07:52+09:00 Subject: [ruby-talk:7753] Re: moving ruby executables >>>>> "S" == SZMURLO MAURICE writes: S> I ment RUBYLIB and not RUBYPATH... Here an example with a version compiled with --prefix=/tmp/r162 pigeon% /tmp/r16x/bin/ruby -e 'puts $LOAD_PATH.join "\n"' /tmp/r162/lib/ruby/site_ruby/1.6/i686-linux /tmp/r162/lib/ruby/site_ruby/1.6 /tmp/r162/lib/ruby/site_ruby /tmp/r162/lib/ruby/1.6/i686-linux /tmp/r162/lib/ruby/1.6 . pigeon% pigeon% ls -d /tmp/r* /tmp/r16x/ pigeon% pigeon% /tmp/r16x/bin/ruby -e 'require "socket"' -e:1:in `require': No such file to load -- socket (LoadError) from -e:1 pigeon% If I add some directories to RUBYLIB pigeon% export RUBYLIB=/tmp/r16x/lib/ruby/1.6/i686-linux:/tmp/r16x/lib/ruby/1.6 pigeon% /tmp/r16x/bin/ruby -e 'puts $LOAD_PATH.join "\n"' /tmp/r16x/lib/ruby/1.6/i686-linux /tmp/r16x/lib/ruby/1.6 /tmp/r162/lib/ruby/site_ruby/1.6/i686-linux /tmp/r162/lib/ruby/site_ruby/1.6 /tmp/r162/lib/ruby/site_ruby /tmp/r162/lib/ruby/1.6/i686-linux /tmp/r162/lib/ruby/1.6 . pigeon% /tmp/r16x/bin/ruby -e 'require "socket"' pigeon% Guy Decoux