Add options to
Many options can be appended to the
command. View them by running
rails new --help
from the command line.
In keeping with both Ruby and Rails’ central aim of
optimizing for developer happiness
, add as many options as you’d like and copy the resulting command below.
Note: options as of Rails version 7.0.0 used.
Some common options appear below, but not all options are listed here.
Skip Hotwire integration
Preconfigure for selected database (defaults to
Skip test files
Choose a CSS processor
Preconfigure smaller stack for API-only apps
Preconfigure a minimal Rails app
Provide the path to a Ruby binary of your choice
Do you often use an option not listed here? Feel free to
let me know