1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/railties/lib/rails/generators/testing
Jonathan Hefner 218412f6a3 Run rails new using specified prerelease version
When running `rails new` with a prerelease flag like `--edge`, the
project's Gemfile will point to the specified prerelease version, but
the project itself is generated using the active version of Rails.  This
can cause problems if, for example, the prerelease version expects a
different file structure than the active version.  It also precludes
using generator options that are new in the prerelease version.

This commit adds a mechanism to install and use prerelease versions of
Rails when running `rails new`.

Closes #38761.

Co-authored-by: Nick Schwaderer <nicholas.schwaderer@gmail.com>
2021-10-12 12:24:41 -05:00
..
assertions.rb Implicitly assert no exception is raised in block assertions 2019-10-07 11:01:24 +02:00
behaviour.rb Run rails new using specified prerelease version 2021-10-12 12:24:41 -05:00
setup_and_teardown.rb