当我尝试开始一个新的 Rails 项目时,我被卡住了。它为 json 1.7.4 哭泣。我在窗户上。
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' 删除了相同的错误。我该怎么办?