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

前端 未结 4 1917
伪装坚强ぢ
伪装坚强ぢ 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 14:01

    sometimes when you run the ruby dk.rb init you got an error like this

    Ruby Error

    for fixing this problem you have to change the encoding of the command prompt windows . to do this type chcp 1256 and you will receive this message : Active code page: 1256

    now you can run that command without problem .

    good luck .

提交回复
热议问题