Closed kennyadsl closed 1 year ago
We now have features that are only compatible with the last version of Rails and we are assuming the project will be only installed on the latest.
This change let the installer exit if a previous version is detected, printing a message that asks to retry with latest Rails.
We don't want Solidus Starter Frontend to be installed with old versions of Rails, otherwise new features won't work.
I changed the sandbox script to use an old version of Rails:
rails _6.1.7.2_ new sandbox \ --skip-git \ --database=${DB:-sqlite3} \ --skip-rc
The result is Rails and Solidus installed, but the Solidus Starter Frontend template script aborted with the corresponding message.
Description
We now have features that are only compatible with the last version of Rails and we are assuming the project will be only installed on the latest.
This change let the installer exit if a previous version is detected, printing a message that asks to retry with latest Rails.
Motivation and Context
We don't want Solidus Starter Frontend to be installed with old versions of Rails, otherwise new features won't work.
How Has This Been Tested?
I changed the sandbox script to use an old version of Rails:
The result is Rails and Solidus installed, but the Solidus Starter Frontend template script aborted with the corresponding message.
Screenshots (if appropriate):
Types of changes
Checklist: