Skip to content

Remove hard errors when matching major bundler not found#5181

Merged
deivid-rodriguez merged 3 commits intomasterfrom
remove_hard_error_when_matching_major_bundler_not_found
Dec 22, 2021
Merged

Remove hard errors when matching major bundler not found#5181
deivid-rodriguez merged 3 commits intomasterfrom
remove_hard_error_when_matching_major_bundler_not_found

Conversation

@deivid-rodriguez
Copy link
Copy Markdown
Contributor

@deivid-rodriguez deivid-rodriguez commented Dec 19, 2021

What was the end-user or developer problem that led to this PR?

Since we will now have auto-installing and auto-switching to the BUNDLED WITH version in the lockfike, we can completely remove these hard error from RubyGems.

What is your fix for the problem, implemented in this PR?

Remove all the code that we no longer need.

Fixes #2671.
Supersedes #2696.
Closes #2800.
Fixes #3275.
Fixes #3283.
Fixes #3334.

Make sure the following tasks are checked

@deivid-rodriguez
Copy link
Copy Markdown
Contributor Author

I think this is a nice step to unblock a potential bundler 3 major release, and allows bundler 2.3 to properly handle lock files locked to bundler 1.17, for example, even if that version of bundler is not installed, thanks to our recent version switching feature.

So since I didn't get feedback I'm going to merge it.

@deivid-rodriguez
Copy link
Copy Markdown
Contributor Author

Thank you @simi!!

@deivid-rodriguez
Copy link
Copy Markdown
Contributor Author

I'll try fix CI and then merge this.

Since we now have version auto-installation and switching inside
rubygems, we can remove errors in major version mismatches from
rubygems.
@deivid-rodriguez deivid-rodriguez force-pushed the remove_hard_error_when_matching_major_bundler_not_found branch from 08ed0f6 to 41d62c7 Compare December 22, 2021 01:02
@deivid-rodriguez deivid-rodriguez merged commit 459b12b into master Dec 22, 2021
@deivid-rodriguez deivid-rodriguez deleted the remove_hard_error_when_matching_major_bundler_not_found branch December 22, 2021 02:43
deivid-rodriguez added a commit that referenced this pull request Dec 22, 2021
…g_major_bundler_not_found

Remove hard errors when matching major bundler not found

(cherry picked from commit 459b12b)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

3 participants