Le 28 juin 10:46, mihai a ñÄrit : > how can i change the path for require? > for example my script is in C:\test and a have require 'watir' and i > want to add another require to a file wich is in > C:\test\tst\requiered_file.rb Either : require "tst/requiered_file.rb" Or : $LOAD_PATH << "c:/test/tst" require "requiered_file.rb" (Or any variations to find the path, but it's somewhat trickier with relatives paths if you call your script from another directory.) Fred -- Arithmetic comparisons: greater-than and less-than considered to be judgemental and divisive. In the interests of inclusiveness, only equality-tests will be permitted. (Tanuki in the SDM, on politically-correct coding)