Installing on Windows
First, you need to install Ruby. We recommend using the RubyInstaller for Windows package.[13] At the time of this writing, the latest version of Ruby available via RubyInstaller is Ruby 3.1.3. If you use RubyInstaller, be sure to pick a version that includes Devkit. If you use a different installer, make sure you install MSYS2 along with Ruby.
Installation is a snap. After you click Save/Download, click Run and then click OK. Select “I accept the License” (after reading it carefully, of course) and then click Next. Ensure “Add Ruby executables to your PATH” is selected, and click Install. See the screenshot.
Next ...
Get Agile Web Development with Rails 7 now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.