我試圖安裝以下寶石:錯誤大廈寶石
http://github.com/maxjustus/sinatra-authentication
在Windows 7上運行的Ruby 1.9的一鍵安裝。
我得到了以下錯誤:
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
我看了網上everywehere,嘗試安裝早期版本,並試圖手動安裝沒有成功(它給了我一個stack too deep
錯誤)。
我懷疑yajl-ruby
gem(http://github.com/brianmario/yajl-ruby)有問題,依賴? (我認爲)
在gem_make.out
顯示日誌:
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.
你有任何想法,如何解決這個問題?謝謝!
我不知道紅寶石1.9有一鍵安裝程序。你能提供一個鏈接嗎? – 2010-04-05 23:42:34