I tried to install the following gem:
http://github.com/maxjustus/sinatra-authentication
on Windows 7 running Ruby 1.9 from the One-Click Installer.
I got the following error:
Microsoft Windows [Version 6.1.7600]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.
C:\Users\Joel>gem install sinatra-authentication
Building native extensions. This could take a while...
ERROR: Error installing sinatra-authentication:
ERROR: Failed to build gem native extension.
C:/Ruby19/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 C:/Ruby19/lib/ruby/gems/1.9.1/gems/yajl-ruby-
0.7.5 for inspection.
Results logged to C:/Ruby19/lib/ruby/gems/1.9.1/gems/yajl-ruby-0.7.5/ext/gem_mak
e.out
I looked everywehere online, tried to install earlier versions, and attempted a manual install without success (it gave me a stack too deep
error).
I suspect there are problems with the yajl-ruby
gem (http://github.com/brianmario/yajl-ruby), a dependency? (I think)
The logs in gem_make.out
show:
C:/Ruby19/bin/ruby.exe extconf.rb
creating Makefile
make
'make' is not recognized as an internal or external command,
operable program or batch file.
Do you have any idea as to how to solve this? Thanks!