Sunny Idea

SunnyIdea: 苗涛和邹丽娜 个人Blog

« 南京梅花山之梅花江苏高院院长透露: 南京“彭宇案”和解撤诉 »

Rails 2.0 Follow me!

1. Install Ruby & Gem from http://www.rubyonrails.org/down
2. Use " gem install rails --include-dependencies "  install Rails(On line)
3. Use " gem install mongrel --include-dependencies" install mongrel
4. " rails -d mysql post" Create a application named post, with mySql support
5. Modify mysql configuration file "database.yml" & create a table in mySql Database (If you have no mysql, install it first)
6. " ruby script\generate scaffold post title:string body:text"
7.  start mongrel "mongrel_rails start"
8.  try visit http://localhost:3000/posts
  • quote 1.苗涛
  • 原文: pensae.com/2008/02/04/ruby-on-rails-202-installation-scaffold/
  • 2008-3-16 0:42:39 回复该留言

发表评论:

◎欢迎参与讨论,请在这里发表您的看法、交流您的观点。

日历

最新评论及回复

最近发表

Powered By Z-Blog 1.7 Laputa Build 70216

SunnyIdea 苗涛和邹丽娜 个人空间 苏ICP备07011602号