Failed to build gem native extension.

Hi everyone

  I want to install ferret on windows. I run the command 'gem install ferret', but I got this error.

Building native extensions. This could take a while... ERROR: Error installing ferret:         ERROR: Failed to build gem native extension.

D:/Ruby187/bin/ruby.exe extconf.rb creating Makefile

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

Gem files will remain installed in D:/Ruby187/lib/ruby/gems/1.8/gems/ferret-0.1 .6 for inspection. Results logged to D:/Ruby187/lib/ruby/gems/1.8/gems/ferret-0.11.6/ext/gem_make. ut

I don't why rails on windows are so many errors.

sir download ferret-0.11.6-mswin32.gem in yours application directory run command “gem install ferret --local” and cheers :slight_smile:

I have this same problem with devise1.1, I looked for devise-mswin32 but could not find? Please help me cheers Omar

  I want to install ferret on windows. I run the command 'gem install ferret', but I got this error.

It works with rubyinstaler.org 1.8.7 and DevKit. Fails on 1.9.2.

Devise compiles and installs with 1.9.2 and 1.8.7

C:\Ruby>gem install devise --no-rdoc --no-ri Temporarily enhancing PATH to include DevKit... cleared faster_require caches due to new gem install... Building native extensions. This could take a while... cleared faster_require caches due to new gem install... cleared faster_require caches due to new gem install... Successfully installed warden-0.10.7 Successfully installed bcrypt-ruby-2.1.2 Successfully installed devise-1.1.2 3 gems installed

omar wrote:

I have this same problem with devise1.1, I looked for devise-mswin32 but could not find? Please help me cheers Omar

I doubt you'll be able to find pre-compiled binaries for every gem you want to use. If you want to keep developing on Windows, and I'll spare you the commentary, you'll need to get a C compiler set up. I've read about using the free version of Visual Studio, but searching Google for "compile ruby extensions windows" returned plenty of instruction.