Installing middleman gem on Windows 10 showing error

Hello,
I am trying to install middleman on my windows 10 machine.

Ruby Version: ruby 2.4.2p198 (2017-09-14 revision 59899)
Gem Version: 2.6.13

But after giving this command, $ gem install middleman it is showing the following errors.

$ gem install middleman
ERROR:  Error installing middleman:
    ERROR: Failed to build gem native extension.

current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/fast_blank-1.0.0/e                    xt/fast_blank
C:/Ruby24-x64/bin/ruby.exe -r ./siteconf20171210-4772-xzqugm.rb extconf.rb
creating Makefile

current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/fast_blank-1.0.0/ext/f                    ast_blank
make "DESTDIR=" clean
'make' is not recognized as an internal or external command,
operable program or batch file.

current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/fast_blank-1.0.0/ext/f                    ast_blank
make "DESTDIR="
'make' is not recognized as an internal or external command,
operable program or batch file.

make failed, exit code 1

Gem files will remain installed in C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/fast_b                    lank-1.0.0 for inspection.
Results logged to C:/Ruby24-x64/lib/ruby/gems/2.4.0/extensions/x64-mingw32/2.4.0                    /fast_blank-1.0.0/gem_make.out
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions.  This could take a while...

can anyone please tell me where is the problem??

Thank You

Yeah, i got the same issue, any idea?

Not exactly as in this old post:

'make' is not recognized as an internal or external command, operable program or batch file.

So this guy had no make installed at all. Your Linux instalation, @LautaroLobo12, seems to have no gcc configured (path?).

Try installing the Ruby DevKit https://github.com/oneclick/rubyinstaller/wiki/Development-Kit

Hey there! Sorry to hear you’re having trouble installing Middleman on your Windows 10 machine. It seems like there might be an issue with the “make” command, which is used to build native extensions. One possible solution could be to install the DevKit for Ruby, which provides the necessary tools for building native extensions on Windows. You can find instructions for installing the DevKit on the RubyInstaller website. Another option could be to try using a different version of Ruby, as some users have reported success with different versions. Also, have any of you tried searching for solutions on Windows 10 key Reddit? I recently discovered it and found some helpful tips there. Hope this helps!