From owner-freebsd-ports@freebsd.org Wed Jan 20 03:14:26 2016 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 03A49A88B83 for ; Wed, 20 Jan 2016 03:14:26 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from mouf.net (mouf.net [IPv6:2607:fc50:0:4400:216:3eff:fe69:33b3]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "mouf.net", Issuer "mouf.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id D23DE17CC; Wed, 20 Jan 2016 03:14:25 +0000 (UTC) (envelope-from swills@FreeBSD.org) Received: from [10.0.1.96] (cpe-071-065-239-148.nc.res.rr.com [71.65.239.148] (may be forged)) (authenticated bits=0) by mouf.net (8.14.9/8.14.9) with ESMTP id u0K3EIAZ065863 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES128-SHA bits=128 verify=NOT); Wed, 20 Jan 2016 03:14:24 GMT (envelope-from swills@FreeBSD.org) Subject: Re: Rubygem .js files fubar? To: Matthew Seaman , freebsd-ports@freebsd.org References: <5693DB57.7090407@freebsd.org> <5694DF6C.3000204@infracaninophile.co.uk> <569B2D66.2070006@FreeBSD.org> <569B35AC.2060600@FreeBSD.org> <569BB354.9000601@FreeBSD.org> From: Steve Wills X-Enigmail-Draft-Status: N1110 Message-ID: <569EFB8A.8050406@FreeBSD.org> Date: Tue, 19 Jan 2016 22:14:18 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 In-Reply-To: <569BB354.9000601@FreeBSD.org> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.4.3 (mouf.net [199.48.129.64]); Wed, 20 Jan 2016 03:14:24 +0000 (UTC) X-Spam-Status: No, score=-1.0 required=4.5 tests=ALL_TRUSTED autolearn=unavailable autolearn_force=no version=3.4.1 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on mouf.net X-Virus-Scanned: clamav-milter 0.99 at mouf.net X-Virus-Status: Clean X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Jan 2016 03:14:26 -0000 Hi, On 01/17/16 10:29 AM, Matthew Seaman wrote: > On 17/01/2016 06:33, Steve Wills wrote: >> On 01/17/16 12:57 AM, Steve Wills wrote: >>> >>> As for why the original file isn't deleted, I'm not sure. I don't see >>> this in my local tree, but I have some changes that may be masking it. >>> >> >> Oh, I wasn't seeing it because I was testing with Ruby 2.1 and it only >> happens with Ruby 2.2 (and presumably 2.3). I'll look into that. > > Yes, this is with ruby-2.2.x -- sorry, should have mentioned that. > > There seems to be a lot of duplicated files installed, some in both > compressed and uncompressed forms: > This is a gem issue really. It enables running "gem server" and getting a web server with browse-able docs for all your gems. The fact that it duplicates some of the bits is a side effect of how the templates work. Some folks find it nice for development. It's not so useful for servers. You could complain to upstream. You could also add this to make.conf: .if ${.CURDIR:M*/*rubygem-*} OPTIONS_UNSET= DOCS .endif A patch to make DOCS default to off for all gems would be interesting. Steve