From: James Edward Gray II Date: 2009-10-20T06:36:53+09:00 Subject: Re: Hey you! Stop using relative requires! On Oct 19, 2009, at 4:30 PM, Thomas Sawyer wrote: > James Edward Gray II wrote: >> Quoting from that page: >> >> � Don't mess with the $LOAD_PATH. PERIOD. >> >> My rule for rules: >> >> * Don't make rules that can never be broken. Period. >> >> There are totally viable reasons to use $LOAD_PATH. For example, a >> Rails project is a self contained chunk of code that works together >> and it makes total sense to add certain portions of that project to >> the $LOAD_PATH, just as Rails does. > > Tried to respond a few times, Google Groups is acting up it seems, > so if > I ultimately triple post, my apologies. > > To be brief, you are correct in that these rules do not apply to Rails > apps. I'm talking about Ruby projects. I made a note of it in the post > to clarify that fact. I'm pretty sure we can come up with non-Rails applications scenarios where they don't apply. I vote we just reject the dogma and focus on the problems it can cause. I'm not saying you're wrong about the issue. I'm just saying that telling us to never do something, is just a turn off. James Edward Gray II