From: Trans Date: 2006-11-26T12:50:08+09:00 Subject: Re: site_ruby Daniel DeLorme wrote: > Can anyone explain what the site_ruby directory is for? Why use that directory > instead of /usr/local/lib/ruby/ ? Only rubygems seems to use that directory. Well, that's a good question. One point is that /usr/local/lib/ruby is where ruby's standard libs are installed (if local install, otherwise /usr/lib/ruby) it's really only by the grace of the version folder (1.8) that gems can use this location cleanly. Unfortunately Debian packages completely ignore this distinction and install ruby packages right in there with the standard lib --which makes it impossible to distingusih standard libs from non-standard (not nice). A recent discussion indicated that the the FHS would have us place these files in /usr/share/ruby or /usr/local/share/ruby. And sure enough that's what Perl does --though it seems wrong to me. I would think /usr/lib/ruby/site and /usr/local/lib/ruby/site, along side gem, would be optimal. T.