From: khaines@... Date: 2006-08-14T00:04:47+09:00 Subject: Re: Rubygem libs vs Non Rubygem libs On Sun, 13 Aug 2006, Tilman Sauerbeck wrote: >> Some might have the lib installed from gems and some might have installed >> manually or whatever ... so how do you reconcile the two if you must 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 this? >> How do experienced Ruby devs deal with this issue? Or am I just thick and it >> isn't an issue at all? >> >> any insight appreciated, > > export RUBYOPT=rubygems Of course, this isn't such a great solution from inside a library, However, it's not too hard. begin require 'rubygems' rescue LoadError end