rails安装步骤

  1. Ruby 1.8.7-p72 Binary
    http://www.ruby-lang.org/en/downloads/
        Ruby 1.8.7-p72 Binary
        (md5: d4b04ba03a76dc70120fe96ffa22e5df)
  2. RubyGems
    http://rubyforge.org/frs/?group_id=126
        rubygems-1.3.5.zip
        解压到一个目录,到该目录执行ruby setup.rb
  3. rake
    http://rubyforge.org/frs/?group_id=50&release_id=34535
        rake-0.8.7.gem
        执行gem install rake --local
  4. activesupport
    http://rubyforge.org/frs/?group_id=570&release_id=39554
        activesupport-2.3.4.gem
        执行gem install activesupport --local
  5. activerecord
    http://rubyforge.org/frs/?group_id=182
        activerecord-2.3.4.gem
        执行gem install activerecord --local
  6. rack
    http://rubyforge.org/frs/?group_id=3113
        rack-1.0.1.gem
        执行gem install rack --local
  7. actionpack
    http://rubyforge.org/frs/?group_id=249
        actionpack-2.3.4.gem
        执行gem install actionpack --local
  8. actionmailer
    http://rubyforge.org/frs/?group_id=361
        actionmailer-2.3.4.gem
        执行gem install actionmailer --local
  9. activeresource
    http://rubyforge.org/frs/?group_id=3507
        activeresource-2.3.4.gem
        执行gem install activeresource –local
  10. rails
    http://rubyforge.org/frs/?group_id=307
        rails-2.3.4.gem
        执行gem install rails --local
  11. sqlite3-ruby
    http://rubyforge.org/projects/sqlite-ruby/
    sqlite3-ruby-1.2.5-x86-mswin32.gem
    执行gem install sqlite3-ruby --local,在生成ri和rdoc文档时会报错,不理之
  12. 生成第一个application
    找一个空目录,在CMD下面执行rails hello
    执行ruby script/server来启动
    在browser里面访问http://localhost:3000
    点击About your application’s environment链接,看到开发环境

 

你可能感兴趣的:(sqlite,application,Ruby,Rails,ActiveRecord,rubygems)