From: Tilman Sauerbeck Date: 2006-08-14T01:11:12+09:00 Subject: Re: Rubygem libs vs Non Rubygem libs --RnlQjJ0d97Da+TV1 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable khaines@enigo.com [2006-08-14 00:04]: > On Sun, 13 Aug 2006, Tilman Sauerbeck wrote: >=20 > >>Some might have the lib installed from gems and some might have install= ed > >>manually or whatever ... so how do you reconcile the two if you must=20 > >>require > >>rubygems to use gem installed libs? Why is the gems directory not added= to > >>the regular include path? Are you required to write code to deal with= =20 > >>this? > >>How do experienced Ruby devs deal with this issue? Or am I just thick a= nd=20 > >>it > >>isn't an issue at all? > >> > >>any insight appreciated, > > > >export RUBYOPT=3Drubygems >=20 > Of course, this isn't such a great solution from inside a library,=20 > 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. 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? --RnlQjJ0d97Da+TV1 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) iD8DBQFE308c27uLisrW2w8RAhkKAJ9IIJaM9CzSk0hh8cII+jVczluWBQCfQyXu 2CX+cpOGl8zi5c9PH4BcTUg= =/8X1 -----END PGP SIGNATURE----- --RnlQjJ0d97Da+TV1--