From: Roger Pack Date: 2009-02-01T06:47:11+09:00 Subject: Re: difference in file.join between Linux, win32? > That's because you didn't provide the path to blah.rb I'm ok with it working that way--the only weirdness is that, with these files: in_root.rb: Dir.chdir 'subdir' require 'in_subdir' subdir/ in_subdir.rb: puts File.join(File.dirname(__FILE__), 'config', 'boot') on windows: C:\dev\test>ruby in_root.rb ./config/boot on linux: $ ruby in_root.rb /home/rdp/dev/test/subdir/config/boot Is this difference expected? Thanks! -=r -- Posted via http://www.ruby-forum.com/.