When I changed my machine (Windows 7), I was forced to used bundle install again and found out an issue on installing one of the gems, specifically json.
install gem json, still creates an error.
'make' is not recognized as internal or external commandReading the logs, I was informed that
makeis an unavailable command. Actually, windows does not support the
makecommand at all.
In this case, we would need to install a devkit for the said command. You may need to download the devkit files and install it.
The devkit files
- Extract the zip files inside a directory
- Add the
[devkit-directory]/binin your %PATH% in the environment variables
- Add also your ruby directory (in my case is within the Instant Rails directory) in the said %PATH%
This is required to configure your devkit, else the system would look for other missing commands such as gcc.exe
- Now re-run all your consoles (cli)
- Re-run your
That should do the trick.
Troubleshoot -- make: gcc: Command not foundDuring the installation of the devkit, I encoutered the error regarding gcc. I was able to fixed it by configuring the devkit properly.
- Go to the
- Run the following:
ruby dk.rb initThis will generate config.yml
- Open config.yml and add your ruby directory.
- Run the following command:
ruby dk.rb install
- Restart all CLI