From: Henry Savr Date: 2006-08-25T01:54:53+09:00 Subject: Ruby search I want to manage the way how Ruby searches modules to load. I found, that the $: variable is in charge, but it is read-only. Then I found that RUBYLIB can be used to add directories. As I have c:/PJ/lib and c:/PJ/test for my Windows souces I entered via irb RUBYLIB = ["c:/PJ/lib", "c:/PJ/test"] using the same Unix-style ("/" instead of "\") as I saw in $: When entered 'load "simple.rb"' I got "no such file to load". How can I set RUBYLIB, or other variable to control the Ruby search? PS. Changing slashes did not help Thank you in advance Henry -- Posted via http://www.ruby-forum.com/.