Since Ruby 2.4, RubyInstaller is based on MSYS2 toolchain. If you want to compile C based ruby gems, you will have to download and install all necessary MSYS2 build tools by typing the command ridk install used by the official installer.
Hello! I'm your AI assistant. Ask me anything about our knowledge base and I'll help you find the information you need.