gem install json -v 1.7.3 gives 'Please update your PATH to include build tools'

前端 未结 4 1915
伪装坚强ぢ
伪装坚强ぢ 2020-12-07 12:58

When I run:

rails new blog

I get:

Installing json (1.7.3)
Gem::InstallError: The \'json\' native gem requires installed b         


        
4条回答
  •  时光取名叫无心
    2020-12-07 13:48

    Delete the old DevKit folder before you extract the new one which you will download from one of the following links, based on your configuration:

    DevKit url at this time For use with Ruby 1.8.7 and 1.9.3: https://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe

    For use with Ruby 2.0 and above (32bits version only): http://dl.bintray.com/oneclick/rubyinstaller/DevKit-mingw64-32-4.7.2-20130224-1151-sfx.exe2

    For use with Ruby 2.0 and above (x64 - 64bits only) http://dl.bintray.com/oneclick/rubyinstaller/DevKit-mingw64-64-4.7.2-20130224-1432-sfx.exe3

提交回复
热议问题