How to install a ferret beetle on Windows 7?

I tried to start an OpenSource project that requires a ferret installation. Installing it with gem install ferret, it gives this error →

Create your own extensions. This may take some time ... ERROR: Error installing ferret: ERROR: Failed to create own gem extension.

C: /Ruby/bin/ruby.exe extconf.rb creating a Makefile

nmake 'nmake' is not recognized as an internal or external command, a working program or batch file.

Gem files will be installed in C: /Ruby/lib/ruby/gems/1.8/gems/ferret-0.11.6 for verification. Results recorded in C: /Ruby/lib/ruby/gems/1.8/gems/ferret-0.11.6/ext/gem_make.out

So, I tried installing nmake (nmake15.exe), but I could not find it. It does not install on Windows 7. How to install a ferret?

+5
source share
3 answers

Some Ruby stones use their own extensions, which means that they are partially written in C or C ++. These gems must be compiled during installation, which is easy if you are running Linux. In addition, most of these gems provide binaries for Windows. However, some gems, such as a ferret, should not and should still be compiled during installation.

, , DevKit, Windows. : https://github.com/oneclick/rubyinstaller/wiki/Development-Kit

+1

nmake make Unix, C . Ruby-, C, .

nmake Visual Studio (++, # VB). , nmake.exe . , .

0

""

gem install ferret --platform = mswin32

0

All Articles