In order to get started on the win32 platform, I follows the steps in the offical guide http://guides.rubyonrails.org/getting_started.html, and here is a summary of the key-steps for setting up the environment.
- Download the ruby 1.9.3-p429 installer and DevKit-tdm-32-4.5.2-20111229-1559-sfx.exe from http://rubyinstaller.org/ (I've tried the 2.0.0 version but there are some problems on the sqlite3 gem).
- After the ruby installation is completed, extract the all contents (with 7-zip) in the DevKit package to C:\DevKit, and then execute the followings using the Ruby's command prompt
- When the DevKit is configurated, restart the Ruby's command prompt.
- Then execute to install Ruby on Rails.
References:
- Ruby's website http://www.ruby-lang.org/en/
- Devkit wiki page https://github.com/oneclick/rubyinstaller/wiki/Development-Kit
- Offical guide of Ruby on Rails http://guides.rubyonrails.org/getting_started.html
No comments:
Post a Comment