Skip to content

Added Gemfile.lock to git add files when calling update-ruby.sh#33484

Closed
danilobuerger wants to merge 1 commit into
facebook:mainfrom
danilobuerger:gemfilelock2
Closed

Added Gemfile.lock to git add files when calling update-ruby.sh#33484
danilobuerger wants to merge 1 commit into
facebook:mainfrom
danilobuerger:gemfilelock2

Conversation

@danilobuerger
Copy link
Copy Markdown
Contributor

Summary

In https://github.com/facebook/react-native/blob/main/scripts/update-ruby.sh#L61

bundle lock

is called which creates a Gemfile.lock in the rn root. This file should be in the git add files list along with the other files that get updated by that script.

Changelog

[Internal] [Fixed] - Added Gemfile.lock to git add files when calling update-ruby.sh

Test Plan

Call update-ruby.sh with or without this patch. Without this patch, the Gemfile.lock will not be staged, with this patch, the Gemfile.lock will be staged.

@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. Shared with Meta Applied via automation to indicate that an Issue or Pull Request has been shared with the team. labels Mar 24, 2022
@analysis-bot
Copy link
Copy Markdown

Platform Engine Arch Size (bytes) Diff
ios - universal n/a --

Base commit: 0a517ae
Branch: main

@analysis-bot
Copy link
Copy Markdown

Platform Engine Arch Size (bytes) Diff
android hermes arm64-v8a 7,979,039 +0
android hermes armeabi-v7a 7,352,331 +0
android hermes x86 8,314,563 +0
android hermes x86_64 8,283,589 +0
android jsc arm64-v8a 9,627,048 +0
android jsc armeabi-v7a 8,401,779 +0
android jsc x86 9,576,247 +0
android jsc x86_64 10,173,215 +0

Base commit: 0a517ae
Branch: main

@danilobuerger
Copy link
Copy Markdown
Contributor Author

Tests failing are unrelated, they happen on main too.

@facebook-github-bot
Copy link
Copy Markdown
Contributor

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

@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @danilobuerger in 96c611b.

When will my fix make it into a release? | Upcoming Releases

@react-native-bot react-native-bot added the Merged This PR has been merged. label Mar 25, 2022
Saadnajmi pushed a commit to Saadnajmi/react-native-macos that referenced this pull request Jan 15, 2023
…book#33484)

Summary:
In https://github.com/facebook/react-native/blob/main/scripts/update-ruby.sh#L61

```bash
bundle lock
```

is called which creates a Gemfile.lock in the rn root. This file should be in the git add files list along with the other files that get updated by that script.

## Changelog

[Internal] [Fixed] - Added Gemfile.lock to git add files when calling update-ruby.sh

Pull Request resolved: facebook#33484

Test Plan: Call update-ruby.sh with or without this patch. Without this patch, the Gemfile.lock will not be staged, with this patch, the Gemfile.lock will be staged.

Reviewed By: GijsWeterings

Differential Revision: D35118250

Pulled By: cortinico

fbshipit-source-id: 80f2c7fad6fbc3f09697988dcc20f7ac94a21473
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Bug 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. 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