gem install json fails with redifinition of struct timezone/timespec

后端 未结 2 503
花落未央
花落未央 2021-01-17 21:28

I am on Windows with Ruby 1.9.3 with DevKit (all 32 bit on Win 7 64 bit). Now I try to install rails, but get an error from bundle. If I try to run (what bundle is complaini

2条回答
  •  独厮守ぢ
    2021-01-17 22:23

    You can open "win32.h" found in the include directory fo your ruby version.

    Then comment out the lines where the "clock_gettime" "clock_getres" functions are declared.

提交回复
热议问题