From: Fernando Cacciola Date: 2007-11-06T21:45:28+09:00 Subject: Re: Using 'require' with modules in the same folder Fernando Cacciola wrote: > > But if I try to use 'require', it searches for the program in the ruby > distribution. Never mind... the current folder is included in the search path, I just got confused by an error message from the loaded program. >Is there a way to specify within the top level script > itself where to search? > FWIW $: << "additional_path" seems to do it, according to "Programming ruby" -- Fernando Cacciola SciSoft http://fcacciola.50webs.com