下载ruby
1) Download Ruby 1.9.3-p0
下载DevKit
2) Download DevKit file from http://ruby
installer.org/downloads (DevKit-tdm-32-4.5.2-20110712-1620-sfx.exe)
3) Extract DevKit to path C:\Ruby193\DevKit
添加环境变量
RUBY_HOME = C:\Ruby193
Path 追加 %RUBY_HOME%\bin
4) cd C:\Ruby192\DevKit
5) ruby dk.rb init
6) ruby dk.rb review
7) ruby dk.rb install
8) gem install rails
9) rails new [your
project name]