DEV Community

Cover image for How to Install Ruby on Rails 8 on Windows
Ilya N. Zykin
Ilya N. Zykin

Posted on

How to Install Ruby on Rails 8 on Windows

Rails Start!

"Rails Start" is a starter kit for Ruby on Rails applications, designed to help developers quickly set up a new project with essential features and best practices.

This project is a perfect choice for:

  • Enterprises looking to standardize their Rails application setup.
  • Freelancers and agencies to kickstart client projects.
  • Online education platforms to start teaching Ruby on Rails.
  • Individual developers who want a solid foundation for their Rails applications.

Requirements

  1. Docker and Docker Compose installed on your machine.
  2. git installed (usually comes pre-installed on MacOS and Linux).
  3. make utility installed (usually comes pre-installed on MacOS and Linux).
  4. WSL2 (For Windows users) with a Linux distribution (like Ubuntu) is recommended.

How to Use (MacOS / Linux)

  • git clone https://github.com/the-teacher/rails-start.git
  • cd rails-start
  • make rails-start

That is it! Very simple!

Now visit: http://localhost:3000 in your browser.

How to Use (Windows WSL2)

  • Open cmd or PowerShell and run:

Install WSL2 and Ubuntu (if not installed yet):

wsl --install
wsl --set-default-version 2
wsl --install -d Ubuntu
Enter fullscreen mode Exit fullscreen mode

Run WSL and install make:

wsl
sudo apt-get install -y make
Enter fullscreen mode Exit fullscreen mode
  • git clone https://github.com/the-teacher/rails-start.git
  • cd rails-start
  • make rails-start

That is it! Very simple!

Now visit: http://localhost:3000 in your browser.

Top comments (0)