-
Notifications
You must be signed in to change notification settings - Fork 191
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Document default gems #87
Comments
If by "default gems" the "gems installed by default" are meant, these are now covered (although in a minimalist fashion) on the
|
"default gems" are slightly different than "installed by default". The latter is often referred to as "bundled" gems to be clear about the distinction. "default gems" are gems that get installed directly into the standard library, and which are loadable without loading the RubyGems subsystem at all. If RubyGems is loaded, these stdlib-based gems can be upgraded, and RubyGems handles this by looking at a separate "default" specification directory which holds the specs for these gems. You can see which gems are default in the CRuby repository by looking for .gemspec files, I believe, but this does not constitute a complete list. An example for the ostruct gem is here: https://github.com/ruby/ruby/blob/d3b2c1a17585ad30fb297ab489da0505e8b9b97a/lib/ostruct/ostruct.gemspec There is a list of "bundled" gems (i.e. preinstalled but not directly into stdlib) here: https://github.com/ruby/ruby/blob/master/gems/bundled_gems Note that JRuby handles default gems by maintaining a separate list (as part of our build script) and not versioning those gems in our repository. I would like to see CRuby do the same, since there have been many cases of diverging sources due to this duplicate versioning:
cc @marcandre @hsbt |
@headius Is what you'd like CRuby to do similar to what I proposed in https://bugs.ruby-lang.org/issues/16778? |
@deivid-rodriguez That is EXACTLY what I want, and I added a +1000 comment there to support you. Let me know if I can do anything else to make this happen. |
😃 That's great, thanks for your support! Maybe it gets some traction again, I'll be happy to find some time to work on it. |
By the way this is an excellent resource for default gems: https://stdgems.org/. |
Very nice, thank you! |
Move original topic from @headius (a.k.a. @Headies):
cc rubygems/rubygems#662
The text was updated successfully, but these errors were encountered: