From: Assaph Mehr Date: 2005-06-03T11:00:23+09:00 Subject: Re: requiring files Gennady Bystritksy wrote: > Joe Van Dyk wrote: > > Hi, > > > > If I start a Ruby application from a different directory than what the > > executed file is in, Ruby can't find the other files that the executed > > file requires (that are in the same directory as the executed file). > > > > Any ideas on ways to fix that? > > > $:.push File.expand_path(File.dirname(__FILE__))