forked from rails/rails
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use stable branch for --edge option when not alpha
Follow-up to rails#41568. If a user runs `rails new --edge` with an `x.y.0.betaN` or `x.y.z.rcN` version, they most likely want to track the `x-y-stable` branch rather than `main` branch. In some cases, the `x-y-stable` branch may not exist yet. In those cases, it is better to raise an error when `bundle install` fails, so that the user knows that the branch is not available.
- Loading branch information
1 parent
80bd07a
commit 9f13cf4
Showing
3 changed files
with
33 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters