From: Gawnsoft Date: 2003-08-31T04:23:05+09:00 Subject: Re: Beginning to use FxRuby - help, please On Sat, 30 Aug 2003 11:57:32 -0500, Lyle Johnson wrote (more or less): >Gawnsoft wrote: > >> I've just installed FxRuby >> >> When I type >> irb> require 'fox' >> >> Instead of 'true', I get the message: >> LoadError: No such file to load -- fox >> >> >> >> _________________________________________________________ >> >> I've installed the PragProg Windows version of Ruby 1.6.8, which has >> set up the following filepaths: >> >> REM Ruby Install -- do not edit this line >> set TCL_LIBRARY=D:\Programs\Coding\Ruby\tcl\lib\tcl8.3 >> set RUBY_TCL_DLL=D:\Programs\Coding\Ruby\tcl\bin\tcl83.dll >> set RUBY_TK_DLL=D:\Programs\Coding\Ruby\tcl\bin\tk83.dll >> set path=%path%;D:\Programs\Coding\Ruby\bin >> REM Ruby Install -- do not edit this line >> >> >> >> The fox stuff has been installed to: >> D:\Programs\Coding\Ruby\lib\ruby\site_ruby\1.6\fox >> D:\Programs\Coding\Ruby\samples\FXRuby >> D:\Programs\Coding\Ruby\doc\FXRuby > >OK, so for some reason Ruby is not seeing the "fox.so" shared library, >which on your system should have been installed to: > > D:\Programs\Coding\Ruby\lib\ruby\site_ruby\1.6\i586-mswin32 > >Is that file present? Yes, in the directory you cited. > If it is, what do you get when you print the >contents of Ruby's library path from irb: > > irb> $: ["/cygdrive/d/PROGRAMS/CODING/RUBY/lib/ruby/site_ruby/1.6/i386-cygwin", "/cygdrive/d/PROGRAMS/CODING/RUBY/lib/ruby/site_ruby/1.6", "/cygdrive/d/PROGRAMS/CODING/RUBY/lib/ruby/site_ruby", "/cygdrive/d/PROGRAMS/CODING/RUBY/lib/ruby/1.6/i386-cygwin", "/cygdrive/d/PROGRAMS/CODING/RUBY/lib/ruby/1.6", "."] Thanks for your help.. Cheers, Euan Gawnsoft: http://www.gawnsoft.co.sr Symbian/Epoc wiki: http://html.dnsalias.net:1122 Smalltalk links (harvested from comp.lang.smalltalk) http://html.dnsalias.net/gawnsoft/smalltalk