From: "Jimmy C." Date: 2010-12-28T17:11:39+09:00 Subject: Re: to_lang: my first gem, looking for feedback Jimmy C. wrote in post #971013: > I notice you only changed a couple usages of `File.expand_path`, but > left others alone. Is it somehow correct to use them in these other > places (e.g. string_methods.rb and connector_spec.rb) or were you just > leaving it for me to clean up the rest? I'm not sure how else I'd do it > in the remaining cases, since the specs are not in the load path and > string_methods.rb is already inside "lib/to_lang" which makes me think > it'd end up attempting to load "lib/to_lang/to_lang/codemap.rb" instead > of "lib/to_lang/codemap.rb". I'm probably just not fully grasping how > the load path works. Disregard this. I did some reading on it and understand it better. I removed all uses of `File.expand_path` from the project. Thanks again! -- Posted via http://www.ruby-forum.com/.