From: Mathieu Blondel Date: 2007-10-31T07:13:32+09:00 Subject: Re: clarification of ruby libraries installation paths? Mathieu Blondel wrote: > Austin Ziegler wrote: >>> Distros probably configure Ruby with --prefix=/usr. The default >>> value of >>> --with-sitedir in Ruby's configure is PREFIX/lib/ruby/site_ruby. With >>> --with-sitedir left as is, a third-party lib installed manually would >>> thus end up in /usr/lib/ruby/site_ruby. This is clearly unwanted. >>> >> >> This is where we stop agreeing. I don't see why it's "clearly >> unwanted." site_ruby is for site-specific installations that aren't >> part of the Ruby core distribution (as defined by the tarball, IMO). >> If you're considering the meaning of "site" (meaning "local"), it only makes sense to have /usr/local/.../site_ruby/. Actually, this is redundant to have "local" and "site_ruby" in the same path. There shouldn't exist a directory /usr/.../site_ruby since traditionally nothing that is site-specific goes to /usr/. A vendor-ruby option to Ruby's configure is being suggested for that purpose. Mathieu Blondel