Create a new app

❮ Back Next ❯

cd into your workspace folder.

Set RVM to use the appropriate Ruby version and gemset:

rvm use 3.1.2@rails-7-app

Create a new Rails app:

rails new git-demo-app

Note that this command has run git init on the new project.

Initialize and run the app:

cd git-demo-app
bundle install
rails db:migrate:reset
rails s

Open http://localhost:3000 to confirm the app is working.

Press Ctrl-C to halt the server.


❮ Back Next ❯