From: Robert Klemme Date: 2005-08-11T01:11:10+09:00 Subject: Re: require and relative paths francisrammeloo@hotmail.com wrote: > I tried to remove the "./" but that doesn't work. > > Using the File.basename($0) trick gives following result: > LoadError: No such file to load -- irb/Classes/BobParser Of course this won't work if you try it from irb. Did you try it in your script? > Perhaps I should mention that I use following emacs command: C-c C-l > and that I'm pretty new to emacs : ) Regards robert