From: Anthony Metcalf Date: 2009-10-14T23:30:57+09:00 Subject: Re: Hey you! Stop using relative requires! --------------enig3DA8129BFC927432251A7F70 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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 > =20 Thanks for the links. They are interesting. Does make the require statements a wee bit wacky though, do people really use require File.join( File.dirname( File.expand_path(__FILE__)), 'lib', 'helpers', 'precious') rather than require 'lib/helpers/precious' ?? --------------enig3DA8129BFC927432251A7F70 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iEYEARECAAYFAkrV4FMACgkQtUxufNRmXkEVzACeMDJbSZY6z4EHWsYfU4vGnXzD QI4AniB/OxPfa8Upmsy5gMP6hFTlrcsU =Cq43 -----END PGP SIGNATURE----- --------------enig3DA8129BFC927432251A7F70--