ERROR: Failed to build gem native extension on Windows

后端 未结 2 557
猫巷女王i
猫巷女王i 2021-02-14 17:42

I\'m getting the below error while installing \'redcarpet\' gem. It got installed without issue on my friends machine though. (I want to install this to run y

2条回答
  •  长发绾君心
    2021-02-14 18:31

    Downgrading ruby gems didn't work for me.

    What did work was (with the latest version of ruby gems installed):

    Open CMD as administrator and...

    gem install json --platform=ruby --verbose
    

    (Answer added by dannysmith here)

提交回复
热议问题