选择64位版本
RubyInstallers
Development Kit
1.Start Command Prompt with Ruby.
gem update –system
2.下载证书 放到RubyInstallers的安装目录bin下面
3.添加环境变量
名称: SSL_CERT_FILE 值: xxxxxx\cacert.pem
初始化Ruby Development Kit
1.Download DevKit file from http://rubyinstaller.org/downloads (DevKit-tdm-32-4.5.2-20110712-1620-sfx.exe)
2.Extract DevKit to path C:\Ruby193\DevKit
3.cd C:\Ruby193\DevKit
4.ruby dk.rb init
5.ruby dk.rb review
6.ruby dk.rb install