From: Karl von Laudermann Date: 2008-02-12T00:49:55+09:00 Subject: Re: Adding local files to the ruby path $: On Feb 11, 9:51 am, Brandon Lawler wrote: > Requiring local files always drove me nuts, due to the need to > explicitly declare the directory in the require statement with require > File.dirname(__FILE__) + '\somefile.rb', which was rather bulky and > inelegant. I don't understand this; if somefile.rb is in the same directory as the file that's requiring it, then why do you need the full path? Why doesn't require 'somefile.rb' work by itself?