Skip to content

fix: make React native compatible with Ruby 3.4.0 #49293

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

Closed
wants to merge 1 commit into from

Conversation

okwasniewski
Copy link
Contributor

Summary:

Hey,

This PR fixes compatibility with Ruby 3.4.0 as it removed some libraries from the standard library.

When installing pods I encountered this error:

CleanShot 2025-02-10 at 11 26 20@2x

After adding those dependencies, the error is gone:

CleanShot 2025-02-10 at 11 27 01@2x

Changelog:

[IOS] [FIXED] - Compatibility with Ruby 3.4.0

Test Plan:

Install pods on Ruby 3.4

@facebook-github-bot facebook-github-bot added CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. p: Callstack Partner: Callstack Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels Feb 10, 2025
@cipolleschi
Copy link
Contributor

cipolleschi commented Feb 10, 2025

Does this still work with older versions of ruby?
Specifically 2.6.10 (which is shipped with the os)?

(I believe CI will tell us that, though...)

@cortinico
Copy link
Contributor

Also @okwasniewski, this needs a PR against https://github.com/react-native-community/template as well

@okwasniewski
Copy link
Contributor Author

@cipolleschi Looks like CI is green! @cortinico Sure, will update the template after merging this one.

@facebook-github-bot
Copy link
Contributor

@cipolleschi has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.

@facebook-github-bot facebook-github-bot added the Merged This PR has been merged. label Feb 10, 2025
@facebook-github-bot
Copy link
Contributor

@cipolleschi merged this pull request in b1735bc.

@react-native-bot
Copy link
Collaborator

This pull request was successfully merged by @okwasniewski in b1735bc

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. Merged This PR has been merged. p: Callstack Partner: Callstack Partner Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants