From: Marko Schulz Date: 2003-08-07T07:02:04+09:00 Subject: Re: - where does it get its initial values? On Thu, Aug 07, 2003 at 05:57:33AM +0900, Ben Giddings wrote: > > This may have been the cause of problems I had when using ruby-mysql. My Ruby > binary was compiled for generic i386, but mysql was compiled for i686 so it > wanted to go in /usr/local/lib/ruby/site_ruby/i686-linux. The end result was > that I had an i386-linux and an i686-linux directory, but only one was being > searched. I got around that by using -I and/or setting an environment > variable... but it seems like it should be possible for Ruby to "figure this > out". Am I asking too much of it? Even though you compile it for i686, the installer should know, that he has to put it in /usr/local/lib/ruby/site_ruby/i386-linux. This is AFAIK what mkmf.rb does, by using rbconfig: It queries the paths, ruby was build with. -- marko schulz