From: eregontp@... Date: 2021-07-07T11:53:27+00:00 Subject: [ruby-core:104532] [Ruby master Feature#17873] Update of default gems in Ruby 3.1 Issue #17873 has been updated by Eregon (Benoit Daloze). Doesn't it mean that in addition to the double-loading warnings (e.g., when using Rails) it might also break on current Ruby releases with the version of RubyGems they ship? (due to the two loaded versions creating some incompatibility) It's also likely hard to guess that double loading means "update to latest RubyGems and Bundler" (they can be other causes for it). In a Gemfile, it would be possible to specify those gems are only needed for Ruby 3.1+, but in a gemspec that does not seem possible unfortunately. @byroot Which Ruby versions did you see was affected? If it's only unsupported Ruby versions at least it'd be a smaller concern. FWIW Rails master currently does this: https://github.com/rails/rails/blob/acee501edd0274acb1b073aac1ac41a3181aafdd/Gemfile#L172-L182 It is not pretty, but if it avoids double-loading maybe it is better than specifying the dependencies in the gem and potentially breaking running Rails on many Ruby releases. ---------------------------------------- Feature #17873: Update of default gems in Ruby 3.1 https://bugs.ruby-lang.org/issues/17873#change-92804 * Author: hsbt (Hiroshi SHIBATA) * Status: Assigned * Priority: Normal * Assignee: hsbt (Hiroshi SHIBATA) ---------------------------------------- I promoted many standard libraries to the default gems. You can see them at https://stdgems.org/#default-gems-ruby-301 I propose the following libraries to promote the bundled gems from the default gems. ``` matrix prime net/ftp net/smtp net/pop net/imap ``` They have primary maintainer in the canonical repository in github. So, they can release the new version with their convenience. @shugo @marcandre Any thought? And I also propose to extract the following libraries from the default gems. ``` tracer dbm gdbm ``` They are no longer actively maintained and not widely used today. -- https://bugs.ruby-lang.org/ Unsubscribe: