Hi, sorry but I don't understand your point.Nearly everything from the gem-packages is installed into subdirctories that have the ruby version (1.g. 1.8 or 1.9.3) as name. So there may be never a conflict with the gems-files in different ruby-versions. Therefore the check with the ruby-version just building is correct and already done by lot of other ruby packages. A conflict only arises with different erubis version installed for the same ruby version.
There are only problems with installed scripts in /usr/pkg/bin, because there arises a conflict with duplicate files to be installed. There is one in this packge to, but this problems hits some more packages too and is currently reported in pkg/46685 - see there.
Best reguards W. Stukenbrock OBATA Akio wrote:
The following reply was made to PR pkg/46687; it has been noted by GNATS. From: "OBATA Akio" <obache%netbsd.org@localhost> To: gnats-bugs%netbsd.org@localhostCc: Subject: Re: pkg/46687: www/ruby-erubis failed to install into multipleruby-version Date: Wed, 11 Jul 2012 20:27:15 +0900 On Wed, 11 Jul 2012 20:20:01 +0900, <Wolfgang.Stukenbrock%nagler-company.com@localhost> wrote:> -CONFLICTS+= ruby[1-9][0-9]-erubis-[0-9]* erubis-[0-9]*> +CONFLICTS+= ${RUBY_PKGPREFIX}-erubis-[0-9]* erubis-[0-9]*It's wrong, just marked as CONFLISTS to itself. Now, Ruby-1.9.3 is using ruby193 for ${RUBY_PKGPREFIX}, so it will notmatched ruby[1-9][0-9], it's a problem.-- OBATA Akio / obache%NetBSD.org@localhost