Download the prerequisites
- node js
- yarn
- sqlite3
- rubyinstaller
Run the command
- gem install sqlite3
- gem install rails
To create a new project
- rails new <project_name>
Navigate to the directory and run
- rails server
To create new ocntroller
- rails new <controller_name>