Check out example codes for "uninstall ruby windows". It will help you in understanding the concepts better.
Code Example 1
# You can uninstall it from Program and Features in Control Panel. # After that you can remove the directory to which you installed it. # If you didn't change it, then it is # C:\Program Files(x86)\Railsinstaller
Learn ReactJs, React Native from akashmittal.com