I wanted to play around with the latest Ruby on windows, so I installed the MSYS2 toolkit first. After this I ran the RubyInstaller for version 2.4.2 and it was able to find out that MSYS2 is already installed on my system.
I checked in the environment variables, if there is an entry for the same, to my surprise there was no such entry. I also tried to search in the windows registry, but didn't found any clue.
Can someone explain me how RubyInstaller is handling that?