From: SZMURLO MAURICE Date: 2000-12-20T18:47:43+09:00 Subject: [ruby-talk:7754] Re: moving ruby executables This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C06A69.538C2E20 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 7bit yeps... it works perfectly! I "just" forgot to include the directory that includes the .so files thanks alot! maurice # # 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 # ------_=_NextPart_001_01C06A69.538C2E20 Content-Type: text/html; charset=iso-8859-1 Content-Transfer-Encoding: 7bit RE: [ruby-talk:7753] Re: moving ruby executables

yeps... it works perfectly!
I "just" forgot to include the directory that includes the
.so files

thanks alot!

maurice


#
# 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
#

------_=_NextPart_001_01C06A69.538C2E20--