打印

rails2.0目前最新版本2.0.1

rails2.0目前最新版本2.0.1

安装步骤注意事项: http://www.rubyonphp?name=rails" onclick="tagshow(event)" class="t_tag">rails.org/down

1.ruby推荐使用版本1.8.6,版本1.8.5、1.8.4、1.8.2还都可以使用,但是版本1.8.2不行


2.安装首先要有RubyGems:

RubyGems is the standard Ruby package manager. It's similar to apt-get, emerge, and other OS package managers.
Download
(extract, then run "ruby setup.rb")


3.rubygems安装好后,即可以安装rails:

gem install rails --include-dependencies
New versions of Rails can be installed the same way. Rails can also be downloaded as stand-alone packages.


4.创建应用程序  Create your application skeleton and start the server: rails path/to/your/new/application
cd path/to/your/new/application
ruby script/server

You're running Ruby on Rails! Follow the instructions on http://localhost:3000.
本帖最近评分记录
  • skyover R币 +2 感谢分享! 2007-12-14 09:46

TOP

TOP

感谢分享,还没有时间去试验呢。
谢谢大家加入Ruby中文社区!
[寻找您身边的Rubyist.]

TOP

2008-12-05 04:59 Crawled by CCBot/1.0 (+http://www.commoncrawl.org/bot.html) @38.103.63.61