From: "Martin J. Dürst" Date: 2013-08-19T18:10:25+09:00 Subject: [ruby-core:56740] Re: [ruby-trunk - Feature #8781] Use require_relative() instead of require() if possible On 2013/08/18 5:58, Aaron Patterson wrote: > I am using "file moving" as a way to demonstrate how `require_relative` > couples your file to its location on the file system. `require` does > not have this coupling. On the other hand, 'require' has a tighter coupling to the file name than 'reqire_relative'. It's no problem to have two different files of the same name with 'require_relative', but it won't work with 'require'. This reminds me of absolute vs. relative links in Web pages. Both have their advantages, but none of them is perfect. Regards, Martin.