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

Upgrade ruby to 3.3 #2027

Merged
merged 4 commits into from
Feb 16, 2024
Merged

Upgrade ruby to 3.3 #2027

merged 4 commits into from
Feb 16, 2024

Conversation

MuriloDalRi
Copy link
Contributor

The #govuk-platform-security-reliability-team expects teams to review, test and deploy this following the steps in the docs

MuriloDalRi and others added 4 commits February 15, 2024 16:58
The #govuk-platform-security-reliability-team expects teams to review, test and deploy this following the steps in the [docs](https://docs.publishing.service.gov.uk/manual/ruby.html#updating-individual-applications)
This fixes the deprecation warning:

```
Gem::Platform.match is deprecated; use Gem::Platform.match_spec? or match_gem? instead. It will be removed in Rubygems 4
```
This fixes the following deprecation warning and error by
replacing the gem with the specific service used in the app:

```
*******************************************************************************
The google-api-client gem is deprecated and will likely not be updated further.

Instead, please install the gem corresponding to the specific service to use.
For example, to use the Google Drive V3 client, install google-apis-drive_v3.
For more information, see the FAQ in the OVERVIEW.md file or the YARD docs.
*******************************************************************************
```

```
Failure/Error: require "google/apis/analyticsreporting_v4"
```
Copy link
Contributor

@deborahchua deborahchua left a comment

Choose a reason for hiding this comment

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

I've tested this by running some of the ETL rake tasks, and deployed to Integration where the scheduled task ran with no issues. I've also tested through Content Data's UI and all seems well.

@deborahchua deborahchua merged commit a144cbd into main Feb 16, 2024
9 checks passed
@deborahchua deborahchua deleted the upgrade-ruby-version branch February 16, 2024 15:15
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