From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 79697 invoked by alias); 20 Nov 2018 16:52:57 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 79685 invoked by uid 89); 20 Nov 2018 16:52:56 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=1.6 required=5.0 tests=AWL,BAYES_00,BODY_8BITS,FREEMAIL_FROM,GARBLED_BODY,KAM_NUMSUBJECT,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS autolearn=no version=3.3.2 spammy=F, packaging, posting, sites X-HELO: new4-smtp.messagingengine.com Received: from new4-smtp.messagingengine.com (HELO new4-smtp.messagingengine.com) (66.111.4.230) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Tue, 20 Nov 2018 16:52:54 +0000 Received: from compute6.internal (compute6.nyi.internal [10.202.2.46]) by mailnew.nyi.internal (Postfix) with ESMTP id 5AC67D56B; Tue, 20 Nov 2018 11:52:52 -0500 (EST) Received: from web5 ([10.202.2.215]) by compute6.internal (MEProxy); Tue, 20 Nov 2018 11:52:52 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mm.st; h= message-id:from:to:mime-version:content-transfer-encoding :content-type:subject:in-reply-to:references:date; s=fm2; bh=FSo yRJfr4dk657+oUz8D/VvFwSND+Zs5brdufey1NxM=; b=BDPonCrJoQgR/h8ce8B J5WoBMDiFZcbc5Gz1ACGENJKX6pKT3Vk29xoYbTXqVTLxZVMWhN6cmtQ6ITXFphD HIHe00kUDyiuKZil0tyGTjR4/5RV/jv2OIKRjHJDbr5nd+mhTFp40gPVz5KlMz2N OPYf9yTJ0siBjWqgIhMySVURekGWkKYXRIYi66Ue6y45i8dp/G7m42lHdWrepGXq 6wdo4u5mL8SV64DZ7i1BcOnIkZ9cjWJ1J4hsmpBIu5gcpfLz8Pz3eNBB0Q+RSeYC nll3Kvc7VmipBeC0cXBiXOtethCJ9i+n17okYSKcgpr7HAR4bg55A0woHJ2enWC3 ggA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=FSoyRJfr4dk657+oUz8D/VvFwSND+Zs5brdufey1N xM=; b=DojN85YP32dGdsVv8kBvxOTUHrUfhx9gdyo+oIFucLvcxzw4TNfwtyrQn 2KFLmk0Ng9WPu32GQuCHELro+x3Zmiy+gkAApLIkVHqKgRUnwqpsKZOFW/xAR5Q9 7vTvyswq7fUfSpO6+HeMPZJj4n7MhHGsO1x5wbmDRtT3aY5yER2jWRMMLe05Sg3J i9p0Lci4W5u4CgkXiukp9dZJ4SbiXl3WH+mBTXQCDxcjIrsxnwpC2lvEro6xOFHh KNcIxXHLtuyXde6oDw3/bMgJdMYyIQJMnVrLEhC9Y286rD56wVTzaYi3ImUoklAD Fg7CgyX/7O2/1fj7VSLh7e0vJxRGA== Received: by mailuser.nyi.internal (Postfix, from userid 99) id EC0A79E1E8; Tue, 20 Nov 2018 11:52:51 -0500 (EST) Message-Id: <1542732771.1889363.1583400904.7F1A65BA@webmail.messagingengine.com> From: Ronald Fischer To: Ken Brown , cygwin@cygwin.com MIME-Version: 1.0 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Subject: Re: Bug: No json support anymore in Ruby 2.3.6 In-Reply-To: References: <1542703281.966819.1582906744.4CEC6D48@webmail.messagingengine.com> <1542728354.1862120.1583295232.4B1A5F52@webmail.messagingengine.com> Date: Tue, 20 Nov 2018 16:52:00 -0000 X-IsSubscribed: yes X-SW-Source: 2018-11/txt/msg00155.txt.bz2 Hi Ken. I see your point .... For me, the foremost issue is to confirm, whether thi= s is indeed a bug in the Cygwin package for Ruby, or not, and my posting on= the mailing list was mainly intended to draw attention from the Ruby packa= ge maintainers (although other comments are, of course, also highly preciat= ed, and in particular without your comment, I would not have known about th= e concept of default gems).=20 I have to maintain a consistent state of our application accross several si= tes (Cygwin, Linux), and so far, only the new 2.3.6 Cygwin version, which I= installed tentaively, has this problem. The previous version was correct i= n this respect, and all those versions I'm aware of, which run on Linux, al= so come with json built in.=20 For the time being, we just avoid updating the Ruby version on Cygwin (beca= use it seems to be nearly impossible to go back to the previous version onc= e you have updated a package). BTW, the definition of "default gems" provided on the stdgems site also inc= ludes the sentence that "one can not REMOVE them" (because they are bundled= with Ruby), so I think it is even risky to deliver an explicit version of = this gem as part of our application, which might then be in conflict with t= hose installation which do contain the json gem in a different version. Fur= thermore, explicitly installing the json gem requires also to download the = C compiler and the Cygwin library bindings for Ruby, because json contains = C code. I rather would prefer not opening this can of worms.... Ronald On Tue, Nov 20, 2018, at 17:26, Ken Brown wrote: > On 11/20/2018 10:39 AM, Ronald Fischer wrote: > > Hi Ken, > >=20 > > actually, the page regarding the gem list for the Ruby version in quest= ion (the one we have at Cygwin) is > >=20 > > https://stdgems.org/2.3.6/ > >=20 > > but this page too lists json as "default gem". > >=20 > > The page https://stdgems.org/ then defines this term as: > >=20 > > "Default gems: These gems are part of Ruby and you can always require t= hem directly" > >=20 > > So from this I would conclude that json (and the other default gems) sh= ould be part of the Ruby installation, since "they are part of Ruby". If yo= u disagree with my interpretation, please explain where I undersood the tex= t in a wrong way. > >=20 > > BTW, I think that my viewpoint is also supported by > >=20 > > https://ruby-doc.org/stdlib-2.3.6/ > >=20 > > which says that the packages listed on this page are found in the /lib = directory of Ruby. > >=20 > > But even if I go along with your interpretation of the text, in that th= e default gems are delivered as a separated package, they should be availab= le at least on the Cygwin server, and be installable from there, but I did = a search for "ruby-default" and could not get a match. >=20 > I was just trying to tell you how to solve the problem. I wasn't offerin= g an=20 > opinion about ruby packaging or which gems should be installed by default. >=20 > Ken > =00=C3=90=C2=A2=C3=92=C3=90=C3=90=C2=A5=07&=C3=B6&=C3=86V=C3=92=07&W=06= =C3=B7'G3=C2=A2=02=02=02=02=02=02=06=E2=80=A1GG=03=C2=A2=C3=B2=C3=B67=E2=80= =93wv=E2=80=93=C3=A2=C3=A66=C3=B6=C3=92=C3=B7=07&=C3=B6&=C3=86V=C3=972=C3= =A6=E2=80=A1F=C3=96=C3=80=C3=90=C2=A4d=15=13=C2=A2=02=02=02=02=02=02=02=02= =02=02=02=02=02=02=02=02=02=02=06=E2=80=A1GG=03=C2=A2=C3=B2=C3=B67=E2=80=93= wv=E2=80=93=C3=A2=C3=A66=C3=B6=C3=92=C3=B6f=17=12=C3=B0=C3=90 > =C2=A4F=C3=B67V=C3=96V=C3=A7F=17F=E2=80=93=C3=B6=C3=A3=C2=A2=02=02=02=02= =02=02=02=02=06=E2=80=A1GG=03=C2=A2=C3=B2=C3=B67=E2=80=93wv=E2=80=93=C3=A2= =C3=A66=C3=B6=C3=92=C3=B6F=C3=B672=C3=A6=E2=80=A1F=C3=96=C3=80=C3=90=C2=A5V= =C3=A77V'67&=E2=80=93&R=06=E2=80=93=C3=A6f=C3=B3=C2=A2=02=02=02=02=02=06=E2= =80=A1GG=03=C2=A2=C3=B2=C3=B67=E2=80=93wv=E2=80=93 > =C3=A2=C3=A66=C3=B6=C3=92=C3=B6=C3=96=C3=82=C3=B27V=C3=A77V'67&=E2=80=93&= R=C3=976=E2=80=93=C3=97=06=C3=86P=C3=90=C2=A0=C3=90 -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple