From: deivid.rodriguez@... Date: 2019-02-19T17:56:48+00:00 Subject: [ruby-core:91595] [Ruby trunk Feature#15611] Shipping Bundler as a bundled gem, not a default gem Issue #15611 has been updated by deivid (David Rodr��guez). > Also, moving bundler to a default gem would still keep the same problem... When I said "default gem" before I meant "bundled gem", but I think you understood me... :) > ��What would that mean exactly? (that's a question for Bundler/RubyGems devs) Will both repositories become one and the code be reused for both parts? That's what I would consider "merged". Otherwise, it looks like two different softwares with different versions. Currently it doesn't look merged at all to me. Yeah, that's what it means. But it's currently only a long term goal. > RubyGems has been in stdlib since 1.9, so there is some history there, and RubyGems itself cannot be a gem of course. > But I agree, it would be more consistent to always have RubyGems be installed the same directory. I wonder what should happen when upgrading RubyGems fails while copying files though, maybe having a safe copy somewhere would be a good way to deal with that. Right, I guess that's precisely why rubygems is currently shipped in rubylibdir, so that the default installation is never changed? ---------------------------------------- Feature #15611: Shipping Bundler as a bundled gem, not a default gem https://bugs.ruby-lang.org/issues/15611#change-76857 * Author: Eregon (Benoit Daloze) * Status: Open * Priority: Normal * Assignee: hsbt (Hiroshi SHIBATA) * Target version: ---------------------------------------- I think this would simplify many things, and would allow to update or remove the shipped Bundler easily on Ruby 2.6. Is there a particular reason to have Bundler as a default gem? Also, given how Bundler magically switches which version is used based on the Gemfile, it seems better to have each Bundler version in its own directory, rather thank risking to load multiple Bundler versions or parts of it from lib/, site_ruby/ and the bundler gem directory. -- https://bugs.ruby-lang.org/ Unsubscribe: