From: Leslie Viljoen Date: 2009-10-14T23:30:54+09:00 Subject: Re: Hey you! Stop using relative requires! On Wed, Oct 14, 2009 at 3:57 PM, Louis-Philippe wrote: > for further clarification read: > http://gist.github.com/54177 > > and > > http://www.untilnil.com/2009/02/25/require-principle_of_least_surprise > > > > 2009/10/14 Anthony Metcalf Ah, this helps a little - I will stop requiring rubygems. Of course, the correct thing: require File.join( File.dirname( File.expand_path(__FILE__)), 'lib', 'helpers', 'precious') ..is also a relative require! And I don't understand: * Don't use a relative lookup for any ,rb or .so/.dll loading. PERIOD.