From: Rick DeNatale Date: 2006-10-10T09:54:49+09:00 Subject: Re: packaging hybrid extension? On 10/9/06, ara.t.howard@noaa.gov wrote: > this = File.dirname __FILE__ > archdir = File.join this, arch > > lib = File.join archdir, "foo.#{ dlext }" > require lib The problem is that __FILE__ only has the file name, not the path, so File.dirname(__FILE__) => '.' -- Rick DeNatale My blog on Ruby http://talklikeaduck.denhaven2.com/