Error installing gem "mongo"

0

I have a problem installing the mongodb gem, can someone tell me the problem?

$ gem install mongo -v 2.2.4
ERROR:  Error installing mongo:
        ERROR: Failed to build gem native extension.

    current directory: C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/bson-4.3.0/ext/bson
C:/Ruby25-x64/bin/ruby.exe -r ./siteconf20180307-14304-1wbpuht.rb extconf.rb
creating Makefile

current directory: C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/bson-4.3.0/ext/bson
make "DESTDIR=" clean
"make" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.

current directory: C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/bson-4.3.0/ext/bson
make "DESTDIR="
"make" no se reconoce como un comando interno o externo,
programa o archivo por lotes ejecutable.

make failed, exit code 1

Gem files will remain installed in C:/Ruby25-x64/lib/ruby/gems/2.5.0/gems/bson-4.3.0 for inspection.
Results logged to C:/Ruby25-x64/lib/ruby/gems/2.5.0/extensions/x64-mingw32/2.5.0/bson-4.3.0/gem_make.out
Temporarily enhancing PATH for MSYS/MINGW...
Building native extensions. This could take a while...

I already tried installing the bson and bson-ext gems but I still get the same error

    
asked by Stiven Diaz 08.03.2018 в 02:56
source

1 answer

3

Because of the error it returns, you still have to install the make tool.

I see that you work with windows: link

Greetings.

    
answered by 08.03.2018 в 10:13