Bug: No json support anymore in Ruby 2.3.6

Brian Inglis Brian.Inglis@SystematicSw.ab.ca
Tue Nov 20 14:01:00 GMT 2018

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

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

More information about the Cygwin mailing list