From: Mando Escamilla Date: 2005-06-25T06:43:53+09:00 Subject: Re: Newbie question ------=_Part_18624_8677424.1119649429711 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline I believe you need to set your LOAD_PATH to include /usr/local/lib/ruby/1.8= ,=20 rather than your PATH. Give it a try and see if that helps. -- Mando On 6/24/05, Paul Mitchell wrote: >=20 > Hello, > I've just installed ruby-1.8.2 on OS X 10.3.9 in order to try and run > instiki-0.10.1. I'm gettig an error, right off the bat with instiki: >=20 > ../instiki > ../script/server:4:in `require': No such file to load -- optparse > (LoadError) > from ./script/server:4 > from ./instiki:6:in `load' > from ./instiki:6 > bp01:/tmp/instiki-0.10.1 root# cd .. >=20 > which, of course, means that the script/server ruby file cannot resolve > the few require statements at the top: >=20 > require 'webrick' > require 'optparse' > require 'fileutils' >=20 > (note: I downloaded a separate webrick before I realized that the *rb > files were located in /usr/local/lib/ruby/1.8/, which is why we squeak > past this one). >=20 > I've changed my PATH to include this directory: >=20 > echo $PATH >=20 > /usr/local/lib/ruby/1.8:/usr/local/sge/bin/darwin:/bin:/sbin:/usr/bin:/us= r/sbin >=20 > but it doesn't find it. Every illustration I've found so far seems to > notuse fully qualified pathnames i nthe require statement - how then do I > direct ruby to these modules? >=20 > Thank for any help, >=20 > Paul Mitchell >=20 >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D > Paul Mitchell > email: pmitchel@email.unc.edu > phone: (919) 962-9778 > office: I have an office, room 14, Phillips Hall >=20 > =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D >=20 >=20 > ------=_Part_18624_8677424.1119649429711--