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
Post by Brian InglisPost by Ken BrownPost by Ronald Fischerruby -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