Ruby downloads and installs devkit in Windows

Source: Internet
Author: User

Conversion from Baidu -- dk

Gem often encounters installation or upgrade in Windows

 
Please update your path to include build tools or download the devkitfrom 'HTTP: // rubyinstaller.org/downloads' and follow the instructionsat 'HTTP: // github.com/oneclick/rubyinstaller/wiki/development-kit'
 
This is because devkit is not installed.
 
In this case, you need to download the devkit package. When I was downloading Ruby, I saw the pageHttp://rubyforge.org/frs? Group_id1_167there is a devkit-3.4.5r3-20091110.7z, and finally prove that this package is outdated, can not be used, be sure to download the latest from the http://rubyinstaller.org/downloads, if the above address is harmonious, fromHttp://github.com/downloads/oneclick/rubyinstaller/DevKit-tdm-32-4.5.2-20110712-1620-sfx.exe this download.
 
After the download is complete, execute this file and unzip it to this directory.
Enter this Directory, which is <devkit_install_dir>.

 
> Cd <devkit_install_dir> Ruby DK. RB init # generate config. yml: Check the list of Ruby supported by devkit to be added. Only Ruby installed by rubyinstaller is supported. # If the ruby listed here does not meet your requirements, you can manually modify it> Ruby DK. RB Review # Check whether the list of Ruby supported by devkit is correct. You can skip this step> Ruby DK. RB install [info] Updating convenience notice gem override For 'C:/ruby192 '[info] installing 'C:/ruby192/lib/Ruby/site_ruby/devkit. RB'
 
Check whether the installation is successful
 
> Gem install rdiscount -- platform = rubyfetching: rdiscount-1.6.8.gem (100%) temporarily enhancing path to include devkit... building native extensions. this cocould take a while... successfully installed rdiscount-1.6.81 gem installedinstalling Ri documentation for rdiscount-1.6.8... installing rdoc documentation for rdiscount-1.6.8...
If the installation is successful, the installation is successful.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.