When i'm trying to install this gem it claims that i need to have a devkit installed although i am sure i do have it. It also suggests that i need to update my systems variables in PATH which i have directly linked to the devkit file in ruby. I have seen other questions on Stack Overflow and they didn't work with my issue. here is the full error message:
C:\Users\Mahamoud>gem install json
ERROR: Error installing json:
The 'json' native gem requires installed build tools.
Please update your PATH to include build tools or download the DevKit
from 'http://rubyinstaller.org/downloads' and follow the instructions
at 'http://github.com/oneclick/rubyinstaller/wiki/Development-Kit'
I've tried uninstalling and re installing ruby and still no result. i have my devkit located in the C:\\Ruby193\\bin
There are detailed steps for installing DevKit here:
https://github.com/oneclick/rubyinstaller/wiki/Development-Kit
And to test that your installation is working correctly, you are supposed to try this:
gem install json --platform=ruby
So, you should already have json installed. Instead of reinstalling ruby, I would try reinstalling DevKit...and follow the directions EXACTLY.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.