安装步骤注意事项:
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.