On Feb 7, 2007, at 24:59, Jeremy Lecour wrote: > Jeremy Lecour wrote: >>> First, site_ruby should be under /usr/local/lib/ruby, not /usr/ >>> local/ >>> lib. >> >> I've removed everything, including ruby itself, >> when I do "apt-get install ruby1.8-dev ruby1.8 ri1.8 rdoc1.8 irb1.8 >> libreadline-ruby1.8 libruby1.8", I get things in "/usr/lib/ruby/1.8/" >> >> I thing I have to tune the setup config for Rubygems, but I don't >> know >> which way. >> >> Thanks for your help > > If do "ruby setup.rb config" then "ruby setup.rb show" : > stdruby $libdir/ruby/1.8 > siteruby $prefix/local/lib/site_ruby > siterubyver $siteruby/1.8 Since this is how your ruby was configured, its fine, but a bit odd. So long as rbconfig is self-consistent it should work fine. > But I don't understand why it is using "siteruby" instead of "stdruby" > which seems to be right for me. Nothing but Ruby's "make install" should install things in to stdruby. No other files belong there.