2017-09-04 15 views
0

gem install jsonを実行し、2.4.1 ルビーJSONの宝石インストールエラー:Rubyの2.4.1、JSON 1.8.6(Windowsの10)

    • ルビーを使用して、次のエラー

      Fetching: json-1.8.6.gem (100%) 
      Temporarily enhancing PATH for MSYS/MINGW... 
      Building native extensions. This could take a while... 
           1 [main] make 8392 child_info_fork::abort: C:\msys32\usr\bin\msys-intl-8.dll: Loaded to different address: parent(0x30000) != child(0x20000) 
           1 [main] make 332 child_info_fork::abort: C:\msys32\usr\bin\msys-intl-8.dll: Loaded to different address: parent(0x20000) != child(0x30000) 
      ERROR: Error installing json: 
           ERROR: Failed to build gem native extension. 
      
          current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/json-1.8.6/ext/json/ext/generator 
      C:/Ruby24-x64/bin/ruby.exe -r ./siteconf20170904-8096-t8xlbq.rb extconf.rb 
      creating Makefile 
      
      current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/json-1.8.6/ext/json/ext/generator 
      make "DESTDIR=" clean 
           1 [main] make 8392 child_info_fork::abort: C:\msys32\usr\bin\msys-intl-8.dll: Loaded to different address: parent(0x30000) != child(0x20000) 
      make: fork: Resource temporarily unavailable 
      
      current directory: C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/json-1.8.6/ext/json/ext/generator 
      make "DESTDIR=" 
      generating generator-x64-mingw32.def 
           1 [main] make 332 child_info_fork::abort: C:\msys32\usr\bin\msys-intl-8.dll: Loaded to different address: parent(0x20000) != child(0x30000) 
      make: fork: Resource temporarily unavailable 
      
      make failed, exit code 2 
      
      Gem files will remain installed in C:/Ruby24-x64/lib/ruby/gems/2.4.0/gems/json-1.8.6 for inspection. 
      Results logged to C:/Ruby24-x64/lib/ruby/gems/2.4.0/extensions/x64-mingw32/2.4.0/json-1.8.6/gem_make.out 
      

      を受けますWindows 10(x64)

    Googleやここには投稿がありません。

    どのような考えにも感謝します。

  • 答えて

    1

    Ruby 2.4 relies on json >= 2.0 json 1.8.6をインストールしようとしています。それらは互換性がありません。 2つのバージョンが互換性があることを確認し、操作を再試行してください。

    関連する問題