Ruby dev kit is installed in my Windows 7. How can I check whether it\'s 32 bit or 64 bit and version number
I\'m not asking How to check ruby version w
Starting with Ruby 2.4.0 the MSYS2 toolchain is used as development kit. (Learn more at https://rubyinstaller.org/downloads/)
There's no command I'm aware of that would return if MSYS2 is installed / or how to check its version. What you can do:
To check if MSYS2 was a part of your installation:
rubyinstaller-devkit-2.5.1-1-x64
. Like here, if the devkit
is in the name, it means it might be installed.Ruby 2.5.1-1-x64 with MSYS2
.To check if MSYS2 has been actually installed:
If there is msys64
catalog in your Ruby installation folder, it means that's MSYS2 is there.
In order to check which version is installed, open Command Prompt and run the following line C:\Ruby25-x64\msys64\mingw64\bin>gcc --version
(within the proper directory on your computer of course).
That's what I can see:
gcc (Rev2, Built by MSYS2 project) 7.3.0
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
I used the following tip > check the platform of the installed mingw, 32bit or 64 bit