From: David Teare Date: 2005-11-23T00:32:40+09:00 Subject: There must be a better way -- requiring multiple files Hi all, I want to require all ruby files from a "lib" directory. This is what I did so far: lib_path = File.expand_path(__FILE__ + "/../../lib/") Dir.new(lib_path).entries.each { |f| require lib_path + '/' + f if f =~ /.*\.rb/ } Is there an easier way? Thanks! --Dave.