Skip to content

update Ruby to 3.1#65533

Merged
Hamms merged 19 commits into
stagingfrom
elijah/ruby-3.1
Jun 9, 2025
Merged

update Ruby to 3.1#65533
Hamms merged 19 commits into
stagingfrom
elijah/ruby-3.1

Conversation

@Hamms

@Hamms Hamms commented Apr 28, 2025

Copy link
Copy Markdown
Contributor

Follow-up to #66240

This PR updates all systems to use Ruby 3.1

@Hamms Hamms changed the title Elijah/ruby 3.1 update Ruby to 3.1 Apr 28, 2025
@Hamms Hamms added the Ruby Update Everything related to work to update the version of Ruby our codebase runs on label Apr 28, 2025
Hamms added 12 commits April 29, 2025 14:10
To pick up support for Ruby 3.1, in advance of a planned upgrade to that version: https://github.com/travisjeffery/timecop/blob/master/History.md#v094

Otherwise, we get errors like:

```
<internal:timev>:310:in `initialize': no implicit conversion of Hash into Integer (TypeError)
  from /home/ci/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/timecop-0.8.1/lib/timecop/time_extensions.rb:22:in `new'
  from /home/ci/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/timecop-0.8.1/lib/timecop/time_extensions.rb:22:in `new_with_mock_time'
  from <internal:timev>:224:in `now'
  from /home/ci/.rbenv/versions/3.1.0/lib/ruby/gems/3.1.0/gems/timecop-0.8.1/lib/timecop/time_extensions.rb:14:in `now_with_mock_time'
```

When trying to invoke `Time.now`
@Hamms Hamms marked this pull request as ready for review June 9, 2025 16:45
@Hamms Hamms requested a review from a team as a code owner June 9, 2025 16:45
@Hamms Hamms merged commit 14b0e22 into staging Jun 9, 2025
4 of 6 checks passed
@Hamms Hamms deleted the elijah/ruby-3.1 branch June 9, 2025 17:01
Hamms added a commit that referenced this pull request Jun 9, 2025
Follow-up to #65533, which updated the image being used to actually run the tests, but missed the one used to update the cache, resulting in broken builds.

See thread at https://codedotorg.slack.com/archives/C046G4TRLEN/p1749497149668169 for more context
Hamms added a commit that referenced this pull request Jun 9, 2025
Follow-up to #65533, which updated the image being used to actually run the tests, but missed the one used to update the cache, resulting in broken builds.

See thread at https://codedotorg.slack.com/archives/C046G4TRLEN/p1749497149668169 for more context
Hamms added a commit that referenced this pull request Jun 10, 2025
* Re-sign Drone after Ruby 3.1 Upgrade (#66408)

* add redirect for /csaif

* Use Updated Drone Image when Rebuilding Cache (#66415)

Follow-up to #65533, which updated the image being used to actually run the tests, but missed the one used to update the cache, resulting in broken builds.

See thread at https://codedotorg.slack.com/archives/C046G4TRLEN/p1749497149668169 for more context

* speculatively update the NewRelic gem to 8.3, to pick up support for Ruby 3.1 (#66416)

---------

Co-authored-by: Code.org Deploy Systems <dev@code.org>
Co-authored-by: Stephen Liang <538214+stephenliang@users.noreply.github.com>
Co-authored-by: Stephen Liang <stephenliang@users.noreply.github.com>
@Hamms Hamms mentioned this pull request Oct 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Ruby Update Everything related to work to update the version of Ruby our codebase runs on

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant