From: Aaron Patterson Date: 2010-12-29T05:42:39+09:00 Subject: Re: to_lang: my first gem, looking for feedback --YZ5djTAD1cGYuMQK Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, Dec 28, 2010 at 05:11:39PM +0900, Jimmy C. wrote: > 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. >=20 > Disregard this. I did some reading on it and understand it better. I=20 > removed all uses of `File.expand_path` from the project. Thanks again! No problem! Glad I could help out. :-) --=20 Aaron Patterson http://tenderlovemaking.com/ --YZ5djTAD1cGYuMQK Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.11 (Darwin) iQEcBAEBAgAGBQJNGku2AAoJEJUxcLy0/6/GKJ8IAIo/YRp3OG8MySzdXF7gUC9m D4XVcT2uFWSdP/DIuyeoSULnpFx6sTMEa4c5vAHpnR5D2x0LroGxLqiX3gCM3uho W4JKDmykK0NuWQuiipD6K9dk26iA7BUlutfeRF21I2mc30bOv8U5EOgRiK/YNzg2 ZfWbq5gcaLEP1fwjF+ZifX8gz7XN8cTVeIWOoSM5ofuXFqppI2U6FPg4oreDuYwM Fwttwjmx9HOPy7tpxg6xVvUPe5wFgdv63Nj9MPbzB2gvWESe1Z59PI/wdFJ2Qx8I PFfM1rBE7gY8UoPK6669iU5HYkHBp0fwrGaTQQs9Z3DJPR8YQDiBM/F5394gqQo= =gnCO -----END PGP SIGNATURE----- --YZ5djTAD1cGYuMQK--