Installing Ruby for Windows
Ruby isn’t available as a default option in Windows the way it’s in Unix distributions or MacOS, but it can be installed and used and can interact with the underlying environment to automate Windows-specific resources.
We’re going to focus on two ways to install Ruby on Windows: using the Windows Subsystem for Linux (WSL)[11], which allows you to run a Linux command-line terminal in your Windows system, and using RubyInstaller[12] to install a Windows application that lets you execute Ruby programs.
The two different kinds of Ruby can both be installed on the same machine and have different purposes. Using WSL gives you a command shell that’s effectively a Linux distribution, allowing you to seamlessly use any of ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access