rvm
to mise
(see the text below)!rails new
command has changed (see the text below)!cd
into your workspace folder.
Set Mise to use the appropriate Ruby version:
mise use --global ruby@3.3.6
Create a new Rails app:
rails _7.1.5.1_ 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.