The reason for the error is that build tools is required when installing XXXXX, but not in the system. The resolution is also given in the error message:
1. Go to http://rubyinstaller.org/downloads/to download dev Kit–devkit-tdm-32-4.5.1-20101214-1400-sfx.exe
2. Follow http://github.com/oneclick/rubyinstaller/wiki/Development-Kit/to install dev Kit
The main installation steps are as follows:
1. If the Legacy Dev Kit is already installed in the original system, delete it
2. Download the dev kit mentioned above
3. Extract the downloaded files to the specified directory, such as C:/devkit. (Note: The directory must not have spaces)
4, run Ruby dk.rb in the installation directory, and then follow the prompts to run Ruby DK.RB init and Ruby dk.rb install to enhance Ruby
5, you can run the gem install Rdiscount–platform=ruby to test for success
Follow the installation steps, complete the installation of Devkit, very simple.
Then, install the required gem again.
RUBY error:please Update your PATH to include build tools or download the DevKit