From: "RadosÅ‚aw BuÅ‚at" Date: 2009-03-29T21:24:38+09:00 Subject: Re: where to declare project path for require I don't know how it's related to this topic but remember that with ruby1.9 we get new require method, which IMHO is very importand: require_relative "file" (and as expected it require file relative to __FILE__) With ruby1.8 (to be compatible) you can write own impl. of that (stolen from http://extensions.rubyforge.org/rdoc/classes/Kernel.html#M000039) def require_relative(path) require File.join(File.dirname(caller[0]), path.to_str) end I think it should be used very often by gem implementators. I don't like if someone modify $: to add some lib internal directories etc. -- Pozdrawiam Rados³aw Bu³at http://radarek.jogger.pl - mój blog