thoughtbot / suspenders

A Rails template with our standard defaults.
https://thoughtbot.com
MIT License
4.01k stars 530 forks source link

The recommended script to create a new app runs into a file conflict when run with Rails `v7.2.0` #1221

Closed stevepolitodesign closed 1 month ago

stevepolitodesign commented 1 month ago

Relates to #1214

Possibly relates to #1216 and #1215

Suspenders requires we run the following command to create a new application:

rails new app_name \
 --skip-test \
 -d=postgresql \
 -m=https://raw.githubusercontent.com/thoughtbot/suspenders/main/lib/install/web.rb

However, after the release of Rails v7.2.0, this command fails:

    conflict  .rubocop.yml
Overwrite /Users/polito/Sites/suspenders_qa_7_2/.rubocop.yml? (enter "h" for help) [Ynaqdhm]
stevepolitodesign commented 1 month ago

One simple solution is to update the README by recommending we pass --skip_rubocop

stevepolitodesign commented 1 month ago

Running the following worked. Note that we pass --skip_rubocop

rails new suspenders_qa_7_2 \
 --skip-test \
 --skip_rubocop \
 -d=postgresql \
 -m=https://raw.githubusercontent.com/thoughtbot/suspenders/main/lib/install/web.rb