I believe it's only one directory out, right? Maybe `File.expand_path("../lib", File.basename(__FILE__))` ?