Ruby on Rails Installation on windows xp
1.github 注册 github.com 2.git windows 版本下载 http://code.google.com/p/msysgit/downloads/listcan=3&q=official+Git 3.ruby 1.8.7 下载 安装 http://www
You can get all the msgs below listed on the net. Try to google 'ruby on rails ', you can get a more detailed page. But it may occur some errors during your installation, follow the tip, you can sovle it.
2.rubygems-1.8.9, extract, then run "ruby setup.rb"
3.DevKit-tdm-32-4.5.2-20110712-1620-sfx.exe（needed on gem install rails）
- DevKit-tdm-32-4.5.2-20110712-1620-sfx.exe,ruby dk.rb init to generate the config.yml file to be used later in this Step. Your installed Rubies will be listed there (only those installed by a RubyInstaller package are detected at present).
- edit the generated config.yml file to include installed Rubies not automagically discovered or remove Rubies you do not want to use the DevKit with.
- finally, ruby dk.rb install to DevKit enhance your installed Rubies. This step installs (or updates) an operating_system.rb file into the relevant directory needed to implement a RubyGems pre_install hook and a devkit.rb helper library file into <RUBY_INSTALL_DIR>\lib\ruby\site_ruby. NOTE: you may need to use the --force option to update (with backup of the originals) the above mentioned files as discussed at the SFX DevKit upgrade FAQ entry.
- Confirm your Ruby environment is correctly using the DevKit by running gem install rdiscount --platform=ruby. RDiscount should install correctly and you should see Temporarily enhancing PATH to include DevKit... in the screen messages. Next run ruby -rubygems -e "require 'rdiscount'; puts RDiscount.new('**Hello RubyInstaller**').to_html" to confirm that the rdiscount gem is working.
4.Gem install rails(Rails3.1.1)
Rails new tutorial(create a web app)
Rails s(start server)