How To Uninstall Ruby On Windows

In this blog post, we will guide you through the process of uninstalling Ruby from your Windows system. This might be useful if you want to reinstall Ruby or completely remove it from your computer. The process is quite straightforward; just follow the steps below.

Uninstalling Ruby using the Control Panel

To uninstall Ruby from your Windows system, you can use the built-in Control Panel feature. Here’s how:

  1. Open the Control Panel by clicking on the Start button and searching for “Control Panel” or by pressing the Win + X keys and selecting “Control Panel” from the menu.
  2. In the Control Panel, click on Programs and Features.
  3. Find Ruby in the list of installed programs. You may see multiple versions of Ruby, so make sure to choose the one you want to uninstall.
  4. Click on the selected Ruby version and then click on the Uninstall button.
  5. Follow the prompts to complete the uninstallation process.

After completing these steps, Ruby should be uninstalled from your computer. However, you might still have some leftover files and folders on your system.

Removing Leftover Files and Folders

After uninstalling Ruby using the Control Panel, it is a good idea to delete any remaining files and folders related to Ruby. Follow these steps to completely remove Ruby from your system:

  1. Open the File Explorer by clicking on the folder icon in the taskbar or pressing Win + E.
  2. Navigate to the folder where Ruby was installed (usually C:\Ruby or C:\Program Files\Ruby). If you see a Ruby folder, delete it.
  3. Search for any remaining Ruby-related files and folders on your system by typing “Ruby” in the File Explorer search bar. Review the search results and delete any leftover Ruby files or folders.

Removing Ruby from the System PATH

If you added Ruby to your system PATH environment variable, you should remove it after uninstalling Ruby. To do so, follow these steps:

  1. Press Win + X and select “System” from the menu.
  2. Click on the “Advanced system settings” link.
  3. In the “System Properties” window, click on the “Environment Variables…” button.
  4. In the “Environment Variables” window, under the “System variables” section, find the “Path” variable and click on the “Edit…” button.
  5. In the “Edit environment variable” window, find the Ruby entry (usually C:\Ruby\bin or C:\Program Files\Ruby\bin) and remove it by selecting it and clicking on the “Delete” button.
  6. Click “OK” to save your changes and close the windows.


By following the steps mentioned above, you should have successfully uninstalled Ruby from your Windows system and removed all its related files and folders. Now you can reinstall Ruby if needed or simply enjoy a Ruby-free environment on your computer.