rails new
Create a new Rails application. More information: https://guides.rubyonrails.org/command_line.html#rails-new.
- Create a Rails app named
blogin the current directory:
rails new blog
- Create a Rails app with API-only configuration:
rails new --api
- Create a Rails app with
postgresqlas the database:
rails new postgresql
- Create a Rails app without generating JavaScript files:
rails new
- Display help:
rails new
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
