バンドルインストールを実行していて、このエラーが発生したJSON gemにアクセスすると、すべてのgemが正常に動作します。ウィンドウを使用してレールにJSON gemをインストールできない
Installing json (1.6.1) with native extensions c:/Ruby192/lib/ruby/site_ruby/1.9.1/rubygems/installer.rb:55
2:in `rescue in block in build_extensions': ERROR: Failed to build gem native extension. (Gem::Installer::E
xtensionBuildError)
c:/Ruby192/bin/ruby.exe extconf.rb
checking for re.h... *** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of
necessary libraries and/or headers. Check the mkmf.log file for more
details. You may need configuration options.
このエラーの原因は何ですか?
これが正しい答えですが、宝石の更新--systemを行うのか、あなたはまだrubyinstaller – pguardiario
ニースに問題があると確信してすることは、と私の問題を解決しましたDevKit +1 – a5his
devkit用のChocolatey NuGetインストーラもあります! http://chocolatey.org/packages/ruby.devkit – mcandre