lib/rails/generators/app_base.rb in railties-6.0.3.7 vs lib/rails/generators/app_base.rb in railties-6.0.4
- old
+ new
@@ -284,10 +284,10 @@
GemfileEntry.github("rails", "rails/rails", "6-0-stable")
]
else
[GemfileEntry.version("rails",
rails_version_specifier,
- "Bundle edge Rails instead: gem 'rails', github: 'rails/rails'")]
+ "Bundle edge Rails instead: gem 'rails', github: 'rails/rails', branch: 'main'")]
end
end
def rails_version_specifier(gem_version = Rails.gem_version)
if gem_version.segments.size == 3 || gem_version.release.segments.size == 3