From: Reid Thompson Date: 2006-09-21T08:55:10+09:00 Subject: Re: ubuntu and Log4r Phlip wrote: > jansenh wrote: > >> When I search for the Log4r files, I find them in >> /usr/local/lib/ruby/gems/1.8/gems/log4r-1.0.5/ > > Ubuntu shares with Mandriva an idiotic "--prefix bug". Not sure if the bug's > on the Ruby side or the Linux side. Heres' the workaround: > > $ ll /usr/local/lib/ruby > lrwxrwxrwx 1 root root 13 Sep 13 20:13 /usr/local/lib/ruby -> > /usr/lib/ruby/ > > I just used ln -s to link the one folder to the other. > > BTW Ubuntu had so many other Ruby problems I switched to Mandriva. For, uh, > less of them. ;-) > configure and build and install ruby with --prefix=/usr then rm /usr/bin/ruby then ln -s /usr/bin/ruby-1.8 /usr/bin/ruby then install gems then use gems to install whatever gems you need.