From: Lloyd Zusman Date: 2004-11-23T19:51:54+09:00 Subject: Re: RPA and iowa Mauricio Fern�ndez writes: > On Tue, Nov 23, 2004 at 11:56:50AM +0900, Lloyd Zusman wrote: >> However, I don't have a clue as to where RPA put the >> "examples/webrick/iowa" directory, or for that matter, if it even >> installed that directory at all. >> >> Can anyone point me to where that directory lives when iowa is installed >> via RPA? > > The documentation is installed under $prefix/share/doc/rpa0.0; this is > followed consistently for all ports. Aha! Yes, what I'm looking for is there. > You can get the list of files associated to the iowa package with > rpa info -Dfiles -x iowa Thanks, this is very useful. > There is no need to remove the packages: note that rpa-base installs > the .rb files under $prefix/lib/ruby/site_ruby/1.8 (i.e. the standard > library path), and they are used with the normal Kernel.require. > The files under $prefix/lib/ruby/rpa0.0 would only be used if you > require 'rpa' > > If you don't want to use it anymore, you can remove rpa-base itself with > rpa remove rpa-base > This is not atomic for obvious reasons ;) > The scripts that use "require 'rpa'", if you have written any, would > stop working. If this is a problem and you still want to remove rpa-base, > you can create a dummy rpa.rb like > > RPA = Struct.new(:version).new OK. This clears things up for me. >> If so, will I have to re-install everything that RPA has >> recently put under its tree? > > No. You can install over files "owned" by rpa-base. The files in the > standard site_ruby dir will be used preferentially, unless you > explicitly require 'rpa' . Thanks for all your help! -- Lloyd Zusman ljz@asfast.com God bless you.