check ruby version in windows

To check the Ruby version on Windows, you can follow the steps below:

  1. Open the Command Prompt: Press the Windows key, type "cmd," and press Enter. This will open the Command Prompt window.

  2. Check if Ruby is installed: In the Command Prompt, type "ruby -v" and press Enter. This command will display the installed Ruby version on your system. If Ruby is not installed, you will see an error message.

  3. Verify the Ruby installation location: In the Command Prompt, type "where ruby" and press Enter. This command will display the path of the Ruby executable file. It confirms that Ruby is installed and provides information about the installed version.

That's it! You have now checked the Ruby version on your Windows system. The displayed version number will indicate the specific version of Ruby installed on your machine.

Let me know if you need further assistance!