Re: Ruby 2.0 support
From: Philip Martin <philip.martin_at_wandisco.com>
Date: Fri, 23 May 2014 12:48:11 +0100
Philip Martin <philip.martin_at_wandisco.com> writes:
> James McCoy <jamessan_at_debian.org> writes:
I think our Ruby installation stuff is a bit broken. We have
--with-ruby-sitedir=SITEDIR
Ruby, at least since 1.8.7, has both sitedir and vendordir. vendordir
I have Debian/wheezy 1.8.7 ruby and it has
sitedir /usr/local/share/ruby/site_ruby
vendordir /usr/lib/ruby/vendor_ruby
I have Debian/wheezy 1.9.1/1.9.3 ruby and it has
sitedir /usr/local/share/ruby/site_ruby
vendordir /usr/lib/ruby/vendor_ruby
Note that libdir is a prefix of sitedir for both vendor and site. That
AC_MSG_CHECKING([where to install Ruby extensions])
However that breaks down when libdir is not a prefix of sitedir.
I have Debian/sid 2.1.2 ruby and it has
sitedir /usr/local/lib/site_ruby
vendordir /usr/lib/ruby/vendor_ruby
I have Fedora/20 2.0.0 and it has
sitedir /usr/local/share/ruby/site_ruby
vendordir /usr/share/ruby/vendor_ruby
On these systems we get the wrong installation directories. If I use
./configure --with-ruby-sitedir=/home/pm/ruby
the 1.8.7 system gives a reasonable looking:
checking where to install Ruby extensions... /home/pm/ruby/1.8/x86_64-linux
while the 2.1.2 system gives a very odd looking:
checking where to install Ruby extensions... /home/pm/ruby/usr/local/lib/x86_64-linux-gnu/site_ruby
I'm not sure whether the different layout is due to the more modern Ruby
-- Philip Martin | Subversion Committer WANdisco // *Non-Stop Data*Received on 2014-05-23 13:48:50 CEST |
This is an archived mail posted to the Subversion Dev mailing list.
This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.