On 2006-04-03 20:54:25 -0700, Jim Weirich <jim / weirichhouse.org> said: > But this will not play nicely with RubyGems. You cannot assume that > you are the only one manipulating the load path array. If you blindly > shift directories off the end of the array, it is quite possible you > will shift off something added by someone else (e.g. RubyGems). I'm using it with my gems, but that thought didn't even cross my mind, and is very valid. I'll make a note to update my gems the next time I have a free moment. > I've check the rails source and I didn't see any examples of using > shift on the load path array. Are you sure they do this? Actually, I believe I plucked it out of ActiveSupport, and that was just a paraphrase at best. Thanks, however, for pointing out the serious problem with that.