--PNTmBPCT7hxwcZjr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable darren kirby [2006-08-14 05:57]: > quoth the Tilman Sauerbeck: > > > >export RUBYOPT=rubygems > > > > > > Of course, this isn't such a great solution from inside a library, > > > However, it's not too hard. > > > > If you are the author of some library: > > > > cat <<EOF >>README > > If you're using rubygems, please export RUBYOPT=rubygems. > > EOF > > > > Done. > > I guess it would be bad form to go setting env variables on someone's system > from within a lib... Of course. That's why you would tell your fellow users to please export RUBYOPT=rubygems. So you don't have to change your code. I'm sure this is documented somewhere, too. Regards, Tilman -- A: Because it messes up the order in which people normally read text. Q: Why is top-posting such a bad thing? A: Top-posting. Q: What is the most annoying thing on usenet and in e-mail? --PNTmBPCT7hxwcZjr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFE35Xk27uLisrW2w8RApQbAJwMrHL/KSdlFQfvwbR0QC2AGv6CDwCfeuG2 fRCtGNSN8lOsYEQ1OuVBrZk bp -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr--