From: Tilman Sauerbeck Date: 2006-08-14T06:13:12+09:00 Subject: Re: Rubygem libs vs Non Rubygem libs --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=3Drubygems > > > > > > 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 <>README > > If you're using rubygems, please export RUBYOPT=3Drubygems. > > EOF > > > > Done. >=20 > I guess it would be bad form to go setting env variables on someone's sys= tem=20 > from within a lib...=20 Of course. That's why you would tell your fellow users to please export RUBYOPT=3Drubygems. So you don't have to change your code. I'm sure this is documented somewhere, too. Regards, Tilman --=20 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= =jnbp -----END PGP SIGNATURE----- --PNTmBPCT7hxwcZjr--