diff options
author | David Rodriguez <deivid.rodriguez@riseup.net> | 2024-05-09 15:25:26 +0200 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2024-05-13 09:19:45 +0000 |
commit | 899568cce9f2929c765738bf52fcadaead953187 (patch) | |
tree | 21b595f1274d319fa5410f806f4206acb9e11db9 /test/prism/fixtures/seattlerb/bug_hash_interp_array.txt | |
parent | 69c87619bd7a69936c44cc0d323b11148400e894 (diff) |
[rubygems/rubygems] Fix error when Bundler installation is corrupted
If one upgrades the default copy of Bundler through `gem update
--system`, and then reinstalls Ruby without removing the previous copy.
Then the new installation will have a correct default bundler gemspec,
but a higher copy installed in site_dir.
This causes a crash when running Bundler and prints the bug report
template.
This could probably be fixed in Ruby install script, by removing any
previous Bundler default copies, but if the problem is already there, I
think it's best to print a proper user error.
https://github.com/rubygems/rubygems/commit/ada6de765d
Diffstat (limited to 'test/prism/fixtures/seattlerb/bug_hash_interp_array.txt')
0 files changed, 0 insertions, 0 deletions