On Sat, 21 Jun 2003 23:36:12 +0000, Its Me wrote: > Great, thanks. > > But other than typing it into irb, where do I put this? I'm on Windows, > and could not find any ini files or environment variables. Something > that Ruby consults each time it runs. > > "Tim Hunter" <cyclists / nc.rr.com> wrote in message > news:pan.2003.06.20.23.51.01.158366 / nc.rr.com... >> On Fri, 20 Jun 2003 23:11:56 +0000, Its Me wrote: >> >> >> > "Sean O'Dell" <sean / REMOVEME.celsoft.com> wrote >> >> $LOAD_PATH << "/newsearchdir" >> > >> > Is there a way to set this up so it is always executed (e.g. >> > ini-file, > or >> > set environment variable)? >> >> export RUBYLIB=/newsearchdir >> >> >> Windows has environment variables. For a single DOS session you can use the SET command: SET RUBYLIB=... How you set them permanently depends on which version you're running. If you're running XP or NT, go to Control Panel->System and hunt around. In XP I think it's under an Advanced button. Or go to Help and enter "Environment".