From: come Date: 2007-08-09T16:34:58+09:00 Subject: Re: how to add external modules' dir? Hi, I know 3 ways to do it : * Setting the env variable RUBYLIB * Adding -I with the path to the command line "ruby ..." * Updating the "$:" array variable within your program (try "ruby -e 'puts $:'") Hope this help, Come On 9 ao�t, 08:22, Lee NL wrote: > In Perl, there is default module directory, say C:\perl\lib; > C:\perl\site\lib, > and I can add more default module directory by editing the registry : > HKEY_LOCAL_MACHINE\SOFTWARE\PERL with > given string value Lib => "C:\OtherPM_Dir;C:\AnotherPM_Dir" > > Is that similar way to do this in Ruby ? Any hints would highly appreciate! > > Best regards, > Lee > > -- > This message has been scanned for viruses and > dangerous content by MailScanner, and is > believed to be clean.