Generating new Rails app - Paprikas/rails_cheat_sheet GitHub Wiki

  1. Install latest Rails into docker gem install rails

  2. Generate new Rails app

rails new <<AppName>> --database=postgresql --skip-turbolinks --skip-jbuilder --skip-webpack-install
# Skip webpacker if you plan to install newest beta by hand

# Minimal API mode
rails new <<AppName>> --api  --skip-test --skip-action-mailer --skip-action-mailbox --skip-action-text  --skip-active-storage  --skip-action-cable  --skip-asset-pipeline --skip-hotwire  --skip-javascript --skip-jbuilder --skip-system-test

Rails 7.2

rails new <<AppName>> --database=postgresql --skip-test --skip-action-mailbox --skip-action-text --skip-active-storage  --skip-jbuilder 
⚠️ **GitHub.com Fallback** ⚠️