From: Pito Salas Date: 2009-08-25T10:22:38+09:00 Subject: Re: Packaging - distribution David, Thanks for a sensational answer to my question! Great detail, very informative. > $: << '/path/to/system/lib' > require 'sub_alpha' > > In my opinion, that's much better than trying to do something like: > > require '/path/to/system/lib/sub_alpha.rb' I've seen the $: << construct; can you say a little about why it's much better than putting the path directly in the require? My guess is that the path appears only once in the $: line so if it changes you don't have to go changing a whole bunch of requires. Yes, or is there something else more important? Thanks - Pito -- Posted via http://www.ruby-forum.com/.