-
Notifications
You must be signed in to change notification settings - Fork 937
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conflict with net/http? #1523
Comments
Also a problem on ruby 2.7.7 and mail 2.8.0 |
This problem is described well here. It sounds like the right solution is for |
I encountered this conflict when trying to update Rails (to 6.1.7.2) for fixing security issue CVE-2023-22794. |
As temporary solution you can also add |
@crivotz Actually during PR review we decided to do as you suggested (add |
I just had trouble deploying because of the
So for the moment I rollback to 2.7.1 version of mail |
We ran through this error too.
|
I've been pairing on this with a few folk at RubyRetreat AU 2024 in an attempt to get to the bottom of this. Thanks crew! @KJTsanaktsidis @moxvallix @layerssss The impact of this issue extends beyond the mail gem and is likley affecting most apps attempting to upgrade from Rails 5.1 to Rails 6.x on their journey through a rails upgrade path. Rails relies on this mail gem which in turn is relying on net-http, which is where the conflicts lie. net/http is only gemified from ruby 3.0 BUT all versions of the net-http gem (v0.1.0 up to latest 0.4.1) list an incorrect minimum support ruby as being >= 2.6.0, but it should be listed as >=3.0 A few compounding issues:
WORKAROUND PROCESS: SOLVE WITH: |
With ruby 2.6.10 and mail 2.8.0 installed, requiring 'mail' followed by 'net/http' shows a conflict with the built-in net/protocol. I have not yet observed any functional problems, but it seems problematic that the net-protocol gem code is being overwritten with the built-in library code.
Version 2.7.1 does not have this problem.
The text was updated successfully, but these errors were encountered: