[DNM] Upgrade to rails 8.1.1 #499
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
How to contribute to the Setup repository
Before opening a Pull Request
We know that encountering issues can be frustrating but before opening a PR to modify the setup that can theoretically be used by a few thousand people:
We currently have a cheatsheet for each OS for tips and / issues that don't belong to the setup itself, so feel free to have a look there first. Maybe your contributing should live there:
Opening a Pull Request
We have a specific architecture for the setup so we can reuse part of the content for different platforms (macOS/Windows/Ubuntu).
There are 2 main folders _partials and images:
_partials/github.mdfile with the guidelines to setup Github. This allows us to reuse the content described there.Naming convention
Partials prefixed with the OS are specific to only one OS. Partials shared among two or more OSes have no prefix.
Build
build.rbis the code that generates the 3 filesmacos.md,ubuntu.md&windows.mdand the corresponding chinese translated versions. For each platform, there is a list of partials to use.To update any content, it is required to update the matching partial. The CI will then run
ruby build.rband commit the changes to the main md files on the branch.If you modify directly the destination file (
macos.md,ubuntu.md&windows.md) without modifying the partials, your changes will be overridden the next time someone (or the CI) runsruby build.rbThis is the flow you need to follow:
Many thanks for contributing 🙌 🚀