當我嘗試啓動一個新的rails項目時,我卡住了。它爲json 1.7.4而哭泣。我在窗戶上。Rails無法生成新項目,因爲'MAKE'
rails new delete
create
create README.rdoc
.
.
.
run bundle install
Fetching source index for https://rubygems.org/
Using rake (0.9.2.2)
Using i18n (0.6.0)
Using multi_json (1.3.6)
Using activesupport (3.2.6)
Using builder (3.0.0)
.
.
.
Using coffee-script (2.2.0)
Using rack-ssl (1.3.2)
Installing json (1.7.4) with native extensions
Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension
.
C:/Programozas/Ruby192/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:/Programozas/Ruby192/lib/ruby/gems/1.9.1/ge
ms/json-1.7.4 for inspection.
Results logged to C:/Programozas/Ruby192/lib/ruby/gems/1.9.1/gems/json-1.7.4/ext
/json/ext/generator/gem_make.out
An error occured while installing json (1.7.4), and Bundler cannot continue.
Make sure that `gem install json -v '1.7.4'` succeeds before bundling.
它也會爲gem install json -v'1.7.4'刪除同樣的錯誤。 我該怎麼辦?
其實我做了一個乾淨的重新安裝有紅寶石安裝程序,而現在一切都很好。但正如我所看到的,你的建議是類似的,我同意它。你的。 – Kael 2012-07-28 19:59:50