Ruby on Rails is a web development framework that was first introduced in 1999. Despite it’s “age”, it’s still a popular choice for developing web applications.

In this small tutorial, we’re going to go through the steps involved in setting up Rails6 on Windows10.

There are a few Rails installer type of projects available, but I’ve found that these mostly don’t work anymore despite coming up near the top of any search in google. If you’ve come across them already and they work for you, then fantastic!

I’m not throwing shade at any of these projects, by the way, merely trying to communicate to others who might be hunting around for the same information and coming across the same resources (and therefore experiencing the same frustration).

  • RailsInstaller - the Windows download this project offers is for Ruby 2.3 which is quite outdated. As of this writing, I’m using Ruby 2.6.5. I recommend you skip this one.
  • Install Rails - this is another fine effort, but still referencing the older Ruby download from railsinstaller. I also recommend you skipping this one.
  • Go Rails - this is a high quality Ruby on Rails installation guide, but its relying on the use of the Linux Subsystem for Windows 10 (eg. WSL). With the amount of work put into WSL2 by Microsoft and other parties, it’s definitely turning into a great option for working on Rails projects on Windows.

using Chocolatey to install Ruby on Rails on Windows 10

A popular Windows 10 package manager is Chocolatey. It can handle downloading and setting up Ruby for us.

  • Head to for a glance through the site
  • You need to install Chocolatey through PowerShell
  • Type Get-ExecutionPolicy. If it returns Restricted, then run Set-ExecutionPolicy AllSigned or Set-ExecutionPolicy Bypass -Scope Process
  • When that completes, paste the following snippet into the shell
    Set-ExecutionPolicy Bypass -Scope Process -Force; iex ((New-Object System.Net.WebClient).DownloadString(''))
  • Just to be sure your system PATH is updated, close the PowerShell console

install Ruby via Chocolatey

  • You’ll have to install Ruby with Administrator privileges
  • Open a command prompt window using Run as Administrator
  • Type choco install ruby in the console
  • Once the install finishes, close the command prompt window. We no longer need Administrator level AND we want to make sure our system PATH has been updated

using Scoop to install Ruby on Rails on Windows 10

Another recent popular management tool on Windows 10 is Scoop. I’ve been trying it out personally for a while, and I prefer it to Chocolatey.

  • Head to the Scoop website and take a quick boo at the website
  • You need to install Scoop through PowerShell, so open a PS terminal
  • Set-ExecutionPolicy -ExecutionPolicy RemoteSigned -Scope CurrentUser
  • When that completes, paste the following snippet into the shell
    Invoke-Expression (New-Object System.Net.WebClient).DownloadString('')
  • Just to be sure your system PATH is updated, close the PowerShell console

install ruby via scoop

Scoop lingo uses the concepts of “apps” and “buckets”. An “app” is a single application or program to install. Whereas a “bucket” is a collection (or loose collection) of apps. To be a bit more accurate, a bucket contains a collection or grouping of app manifests - that is, the info needed by scoop to install a particular app.

  • scoop bucket add versions add the versions bucket (handy for needing a specific version of some apps like Ruby or Java)
  • scoop bucket add extras add the extras bucket
  • scoop search ruby will come up with a list of available ruby versions
  • scoop install ruby will use the latest version
  • scoop install ruby ruby24 will install ruby (2.4.10-1) for example if you need a specific version
  • that’s it

install ridk

  • Open a command shell
  • Type ridk install
  • When prompted, just hit Enter (we want the defaults)
  • The installation will take a little bit of time
  • You’ll be prompted for any further actions, again just hit Enter to exit

install rails 6

  • We’re finally there! We can install Rails6 now!
  • Open a command shell
  • Type gem install rails
  • Tada!


There are several popular resource guides available for installing Ruby on Rails on Windows 10, but they are either quite outdated, or may not be a good “fit” with your system setup.

To try and help others coming across the same batch of resources and hitting the same speed bumps, I put together this small guide to give you a hand. Hopefully it does the job for you without issue(s).

If you found this tutorial helpful, please share it!