当前位置:首页 > 开发 > 编程语言 > Ruby > 正文

Install Ruby On Rails Step by Step

发表于: 2011-04-07   作者:crabdave   来源:转载   浏览:
摘要:   Install Ruby On Rails Step by Step   Download files: 1.Ruby http://files.rubyforge.vm.bytemark.co.uk/rubyinstaller/rubyinstaller-1.9.2-p136.exe 2.Gem http://files.rubyforge.vm.bytem

 

Install Ruby On Rails Step by Step

 

Download files:

1.Ruby

http://files.rubyforge.vm.bytemark.co.uk/rubyinstaller/rubyinstaller-1.9.2-p136.exe

2.Gem

http://files.rubyforge.vm.bytemark.co.uk/rubygems/rubygems-1.4.2.zip

3.Rails

http://files.rubyforge.vm.bytemark.co.uk/rails/rails-2.3.3.zip

4.SQLite

http://www.sqlite.org/sqlite-dll-win32-x86-3070400.zip

 

 

1.install ruby & configure RUBY_PATH

 

2.cd rubygems-1.4.2

  "ruby setup.rb" & "gem install rails"  Don't care about the errors.

  "rails new myapp"  Create web application

  cd myapp

  "bundle install" Install require gem

 

3.Extract SQLite in Ruby192/bin folder

  "rails server"

 

4.http://localhost:3000


Done!


Install Ruby On Rails Step by Step

  • 0

    开心

    开心

  • 0

    板砖

    板砖

  • 0

    感动

    感动

  • 0

    有用

    有用

  • 0

    疑问

    疑问

  • 0

    难过

    难过

  • 0

    无聊

    无聊

  • 0

    震惊

    震惊

版权所有 IT知识库 CopyRight © 2009-2015 IT知识库 IT610.com , All Rights Reserved. 京ICP备09083238号