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

Update to ruby 3.1.2 #554

Merged
merged 1 commit into from
Aug 3, 2022
Merged

Update to ruby 3.1.2 #554

merged 1 commit into from
Aug 3, 2022

Conversation

JPrevost
Copy link
Member

@JPrevost JPrevost commented Aug 3, 2022

Why are these changes being introduced:

  • Updating to the latest ruby has many benefits, one of which is that it
    will allow us to upgrade the Heroku-18 stack to the latest

Relevant ticket(s):

How does this address that need:

  • Updates ruby version in both files that store it

Document any side effects to this change:

Developer

  • All new ENV is documented in README
  • All new ENV has been added to Heroku Pipeline, Staging and Prod
  • ANDI or Wave has been run in accordance to
    our guide and
    all issues introduced by these changes have been resolved or opened as new
    issues (link to those issues in the Pull Request details above)
  • Stakeholder approval has been confirmed (or is not needed)

Code Reviewer

  • The commit message is clear and follows our guidelines
    (not just this pull request message)
  • There are appropriate tests covering any new functionality
  • The documentation has been updated or is unnecessary
  • The changes have been verified
  • New dependencies are appropriate or there were no changes

Requires database migrations?

NO

Includes new or updated dependencies?

YES

@mitlib mitlib temporarily deployed to timdex-pr-554 August 3, 2022 14:41 Inactive
@JPrevost JPrevost temporarily deployed to timdex-pr-554 August 3, 2022 14:50 Inactive
Why are these changes being introduced:

* Updating to the latest ruby has many benefits, one of which is that it
  will allow us to upgrade the Heroku-18 stack to the latest

Relevant ticket(s):

* https://mitlibraries.atlassian.net/browse/TIMX-71

How does this address that need:

* Updates ruby version in both files that store it

Document any side effects to this change:

* Adds `net-smtp` and realted gems to the Gemfile list. Once we upgrade
  to Rails 7.0.1 this should no longer be necessary.
  https://stackoverflow.com/a/70500221
  For context, these gems were previously part of ruby, but were spun
  into separate gems as part of Ruby 3.1. Rails 7.0.1 resolved this by
  making those 3 gems dependencies (hence why we'll be able to remove
  them from explicitly being in our Gemfile when we upgrade).
@JPrevost JPrevost temporarily deployed to timdex-pr-554 August 3, 2022 14:57 Inactive
@JPrevost JPrevost merged commit df97ae1 into main Aug 3, 2022
@JPrevost JPrevost deleted the ruby3 branch August 3, 2022 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants