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
Finally after much research I found the culprit was the RubyGems version incompatibility with native extension gems!!!
I had ruby gems ver 2.4.1 but seems like >2.4.0 has these issues
gem update --system 2.3.0
did the trick for me :)
Refer: https://github.com/rubygems/rubygems/issues/977
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)