From: Stu Glaser Date: 2005-11-05T05:19:40+09:00 Subject: Setting RUBYLIB Hi, I currently have a project with two files. I want to include one file from the other without specifying the entire path. Here's what I'm trying to do: File: ./app/control/first.rb puts "HELLO" File: ./main.rb ENV['RUBYLIB'] = "./app" require 'control/first.rb' However, it refuses to find the script ('require': No such file to load -- control/first.rb) When I set RUBYLIB from the (bash) shell, the program runs correctly. How can I set it inside the main ruby program? Thanks, -Stu Glaser