Skip to content
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

Latest 'mail' gem version triggers "Uninitialized constant Mail::TestMailer (NameError)" #3254

Open
benjaminfaure opened this issue Dec 5, 2022 · 2 comments
Labels
bug effort-small less than 1/2 day of dev time

Comments

@benjaminfaure
Copy link
Contributor

Hello,

After merge the latest roadmap release, I encountered the following error :
uninitialized constant Mail::TestMailer (NameError)

After some investigation, the error comes from the mail gem that was updated 2 days ago to V2.8.0. It added compatibility to Ruby 3.1.0 but seems to have broken compatibility with other versions.

The roadmap code is not impacted because the version in Gemfile.lock is set to V2.7.1, but I think it would be good to freeze the version in our Gemfile while we are using Ruby 2.7.

@benjaminfaure benjaminfaure added bug effort-small less than 1/2 day of dev time labels Dec 5, 2022
@aaronskiba
Copy link
Contributor

The current release (v4.2.0) still states gem 'mail', '2.7.1' https://github.com/DMPRoadmap/roadmap/blob/main/Gemfile#L203. Can we unfreeze it at this point?

@benjaminfaure
Copy link
Contributor Author

We need to upgrade to Ruby 3.1 before

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug effort-small less than 1/2 day of dev time
Projects
None yet
Development

No branches or pull requests

2 participants