From: Chris Morris Date: 2002-05-08T12:35:08+09:00 Subject: Execute .rb file in Ruby path If I install myscript in a sitever sub-directory called mystuff, I can require the file with the -r switch and a relative path: ruby -r mystuff/myscript.rb But I can't execute this same script in the same manner: ruby mystuff/myscript.rb ... and I understand why -- it's looking for a mystuff subdir of the current directory. The -S switch will search the PATH, what I want is a switch that will do so within the $LOAD_PATH. Is there a simple way to do this? Chris