rails Command Examples

A server-side MVC framework written in Ruby. Some subcommands such as generate have their own usage documentation. More information: https://guides.rubyonrails.org/command_line.html.

rails new "{{project_name}}"

rails server

rails server -p "{{port}}"

rails console

rails --version