diff options
| author | Schneems <richard.schneeman+foo@gmail.com> | 2025-12-26 12:21:51 -0600 |
|---|---|---|
| committer | git <svn-admin@ruby-lang.org> | 2026-01-06 04:38:13 +0000 |
| commit | ad6b85450db1b252660dae4b514f5be35ccd38b9 (patch) | |
| tree | e4792dbd2014f377f64f821ba81ead5c77c440be /doc/optparse/ruby/explicit_array_values.rb | |
| parent | 4377249bbf1a27b3d860ab8948b508f1b024ba1c (diff) | |
[ruby/rubygems] Retain current bundler version on `bundle clean`
Previously: In #9218 a reproduction is shared where running `bundle clean` using a binstub (`bin/bundle`) results in bundler removing itself. This results in Ruby falling back to its default bundler version. This behavior seems to be present for as long as there has been a default version of bundler (Ruby 2.6+).
Now: Bundler will explicitly add its current version number to the specs to be preserved. This prevents `bundle clean` from removing the current bundler version.
close https://github.com/ruby/rubygems/pull/9218
https://github.com/ruby/rubygems/commit/e3f0167ae4
Diffstat (limited to 'doc/optparse/ruby/explicit_array_values.rb')
0 files changed, 0 insertions, 0 deletions
