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

chore: Upgrade to Ruby 3.1 #1548

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jonallured
Copy link
Member

Pursuant to our pattern of upgrading Ruby and then Rails this PR does the Ruby 3.1 upgrade in preparation for Rails 7.0. I had to upgrade Standard Ruby and also add a gem called "matrix" to the Gemfile which wasn't something I had bumped into before. 🤷

/cc @artsy/amber-devs

@jonallured jonallured self-assigned this Dec 4, 2024
@jonallured jonallured changed the title chore: Upgrade to Ruby Three One chore: Upgrade to Ruby 3.1 Dec 4, 2024
@jonallured jonallured force-pushed the jonallured/chore-upgrade-to-ruby-three-one branch from 753d73b to bf91df4 Compare December 4, 2024 20:01
@jpotts244
Copy link
Contributor

Hi!!! I think we might need to bump selenium-webdrivers version here too

This is a very helpful PR! https://github.com/artsy/volt/pull/7459/files

@jonallured jonallured force-pushed the jonallured/chore-upgrade-to-ruby-three-one branch 2 times, most recently from 3822e99 to 70c95b0 Compare December 5, 2024 19:29
@@ -4,6 +4,7 @@

require "rails/all"
require_relative "../lib/jwt_middleware"
require "ostruct"

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lol

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok you got me - that's probably a symptom of something else but it fixed a bunch of these errors:

NameError:
  uninitialized constant GraphQL::Compatibility::ExecutionSpecification::SpecificationSchema::OpenStruct

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Im laughing at ruby/removing this from the core library - its everywhere

@jonallured jonallured force-pushed the jonallured/chore-upgrade-to-ruby-three-one branch from 70c95b0 to 43481c7 Compare December 5, 2024 21:38
@jonallured jonallured force-pushed the jonallured/chore-upgrade-to-ruby-three-one branch from 43481c7 to 358ae8b Compare December 9, 2024 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants