Before going through these steps make sure you have done Setup C++ development environment on Windows
This is a simple guide for configuring a Ruby 2 environment on Windows 11. All scripts are PowerShell.
This will allow you to execute PowerShell scripts locally on your machine. In PowerShell as Administrator: