X-Recipient: archive-cygwin@delorie.com
DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:from:to:mime-version
	:content-transfer-encoding:content-type:references:date
	:in-reply-to:subject; q=dns; s=default; b=H0Dz1jf0C/vTouky0HjmXS
	hvt6XK/qVQYKq20NWZUTFXgr4P58cOADWwbQ6fxhGhgFuplVgXw2p5h7EKJ/8r/0
	PeDaa0yDD87Cutw51VeyiQUcC5h8QNO8msbvoTuSNl2EezBaDqpM2gO8AE4TiR8+
	adcgpHPrSWlV4uqobOZck=
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id
	:list-unsubscribe:list-subscribe:list-archive:list-post
	:list-help:sender:message-id:from:to:mime-version
	:content-transfer-encoding:content-type:references:date
	:in-reply-to:subject; s=default; bh=ouRV4TD0BV3DRFZUSPq6nNI+sjc=; b=
	GZn2pWc7b9BVFfqbuE249P4kBs/o+YxbvHQLvXd1DSM5bJOQqNpRdjAnsTNg6S4q
	vUG0J5jzxkFlXUzhGBRV4O5hZatN/uFskTIFxU+tf+dSacaOgtJA+eWpMimAMvaO
	AWcRBOxjszoq3zxHwX5Zq/q5W30jUnEgMGHWMDSded4=
Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe@cygwin.com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin@cygwin.com>
List-Help: <mailto:cygwin-help@cygwin.com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner@cygwin.com
Mail-Followup-To: cygwin@cygwin.com
Delivered-To: mailing list cygwin@cygwin.com
Authentication-Results: sourceware.org; auth=none
X-Spam-SWARE-Status: No, score=-2.0 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,KAM_NUMSUBJECT,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS,SPF_PASS autolearn=ham version=3.3.2 spammy=gem, Ken, Ronald, Brian
X-HELO: new4-smtp.messagingengine.com
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:references:date:in-reply-to:subject; s=fm2; bh=kZ/	jw6tqTSq3+vR4StCm3v0NNHLVvF/+gcKrgKNGcaQ=; b=IUI7Ba8pXc6oSALFYre	k1pJ+cMRzKn0Zw2T30J8nG2QgVYslHX4awB/jNdrrotu8qWbew0LulCcGeweT+k3	UviPzfo5Yq9VN3l0B5LcXDSWISKDAgM9V/6ImZxeWqZctE4y9fqk0LDSlSIUt3Bv	kKEIXAfj4pPBtXkf+D9J1tr8cI4CBKIFKWCDs424Uv0iTqTwEymVlfKO/3x1ieqh	Paw85iwA47enN0iJmi195lIa/ZdFTTe0KuXv7yKrunc3ADADTHrCo1O3Yd2ErbPd	x0vzML2mIo7N4om6l9s0miUKJZ11MIiBVzUufGNA2MsBmuvJEXEM6ov5pbI+qS7Q	miA==
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=kZ/jw6tqTSq3+vR4StCm3v0NNHLVvF/+gcKrgKNGc	aQ=; b=JAoG/WaIyCqjq5F6izaQ2Kh8Uh9FFbNwmvdt6oXffvRPpX1QyUJOiwAGb	6jiUtfIYJUya91mTfYtMa6aPROjd26P53WjxavqKfFvOZJ9IEcLYm5rjny96i1fT	hUHiUrWnkupQiTbC4Z+pp4KdOfEqU/9om3l9mkr29GMmxvgjpdI5uJNnRfUrubTD	fuSIFbxHpNr810O9EdCDkyVNsc+WHxuMUR3BT1gFalNLswzV18SDaDVnYomFtnx1	78YG1L/EbexIOzx7kH0pbe4DEfyGvwAcOPY9GkVhR10HRxCBl9zPOF/4IAj+zXoG	e2FqA5Nd2OBoDwVCe2Ss/GApX21Ng==
Message-Id: <1542728354.1862120.1583295232.4B1A5F52@webmail.messagingengine.com>
From: Ronald Fischer <ynnor@mm.st>
To: Brian Inglis <Brian.Inglis@SystematicSw.ab.ca>, cygwin@cygwin.com
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="utf-8"
References: <1542703281.966819.1582906744.4CEC6D48@webmail.messagingengine.com> <f20f4cee-18cc-2e55-465a-31f547cfcbae@cornell.edu> <e2df230a-cd42-36d1-c057-8ec8008be337@SystematicSw.ab.ca>
Date: Tue, 20 Nov 2018 16:39:14 +0100
In-Reply-To: <e2df230a-cd42-36d1-c057-8ec8008be337@SystematicSw.ab.ca>
Subject: Re: Bug: No json support anymore in Ruby 2.3.6
X-IsSubscribed: yes

Hi Ken,

actually, the page regarding the gem list for the Ruby version in question (the one we have at Cygwin) is 

    https://stdgems.org/2.3.6/

but this page too lists json as "default gem". 

The page https://stdgems.org/ then defines this term as:

"Default gems: These gems are part of Ruby and you can always require them directly"

So from this I would conclude that json (and the other default gems) should be part of the Ruby installation, since "they are part of Ruby". If you disagree with my interpretation, please explain where I undersood the text in a wrong way.

BTW, I think that my viewpoint is also supported by

https://ruby-doc.org/stdlib-2.3.6/

which says that the packages listed on this page are found in the /lib directory of Ruby.

But even if I go along with your interpretation of the text, in that the default gems are delivered as a separated package, they should be available 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.

Ronald

On Tue, Nov 20, 2018, at 15:00, Brian Inglis wrote:
> On 2018-11-20 06:13, Ken Brown wrote:
> > On 11/20/2018 3:41 AM, Ronald Fischer wrote:
> >> Since I updated Ruby to 2.3.6, the standard library json is missing:
> >>   ruby -e 'require "json"'
> >> /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require': cannot load such file -- json (LoadError)
> >>          from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
> >>          from -e:1:in `<main>'
> > Install the ruby-json package.
> 
> By recent ruby standards, ruby should depend on and install ruby-stdgems, which
> should install ruby-libraries, ruby-default-gems, and ruby-bundled-gems, where
> the latter two should depend on and install the lists of default and bundled
> standard library gems, which should include ruby-json and other standard library
> gems.
> 
> Packages for ruby-stdgems, ruby-default-gems, and ruby-bundled-gems could be
> dummy (virtual) packages (like _obsolete packages) to define the generic and
> version dependent gem lists, to make version dependent changes easier.
> 
> See https://stdgems.org/{libraries,default_gems,bundled_gems}.json
> 
> -- 
> Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada
> 
> This email may be disturbing to some readers as it contains
> too much technical detail. Reader discretion is advised.
> 
> --
> 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
> 

--
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

