X-Recipient: archive-cygwin AT delorie DOT 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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; q=dns; s=default; b=qW7eiM6n4sUTl+T4 QLS/5YogtpMnvix3RGrFxuy61DGjjfJwEqn+SQK19UUiHHZWlmkQLqKVqtfDsMzZ o9M4NfT3pJwYqUHXoEpGSj1tbzfwOhvuiZ6HfcDoWsDWZ6srz5ar137en3G/v0yN Jhf/5ZMT5cMEAEANd/NnpSMajPw= 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:reply-to:subject:to:references:from:message-id :date:mime-version:in-reply-to:content-type :content-transfer-encoding; s=default; bh=pCCLq5whGN7bD6E/KwPJw2 oydxA=; b=kmQPUx3gAylsZYN9WGd+tPYQFVPTgkKQgkQdGg4s5wcW8xEHyzTZn2 gKsBeXrFO7Xxwx1u47guK5EvLWUTFdUtjsKeVV2oi4PCQzIDEUccB4kOlFXDvFwd TZO1LcxMQ8Js4rVcgW27+6glfPesqDp+7O2thZe8zqTiXqMcDPNro= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW,TIME_LIMIT_EXCEEDED autolearn=unavailable version=3.3.2 spammy=gem, H*R:D*ca, Ken, Ronald X-HELO: smtp-out-no.shaw.ca Reply-To: Brian DOT Inglis AT SystematicSw DOT ab DOT ca Subject: Re: Bug: No json support anymore in Ruby 2.3.6 To: cygwin AT cygwin DOT com References: <1542703281 DOT 966819 DOT 1582906744 DOT 4CEC6D48 AT webmail DOT messagingengine DOT com> From: Brian Inglis Openpgp: preference=signencrypt Message-ID: Date: Tue, 20 Nov 2018 07:00:20 -0700 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes 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 `
' > 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