When initializing project from scratch, bundle install gives error:
Your bundle is locked to rails (7.1.0.alpha) from https://github.com/rails/rails.git (at main@912096d), but that version can no longer be found in that source. That means the author of rails (7.1.0.alpha) has removed it.
You'll need to update your bundle to a version other than rails (7.1.0.alpha) that hasn't been removed in order to install.
When initializing project from scratch, bundle install gives error:
Fix it with bundle update rails