ruby on rails 的安装

第一种方法:
采用Curt Hibbs的 InstantRails 来安装:

ruby on rails 的安装网址:
http://instantrails.rubyforge.org/wiki/wiki.pl

http://rubyforge.org/frs/?group_id=904

http://rubyforge-files.ruby-forum.com/instantrails/InstantRails-1.7-win.zip

第二种方法:
采用 gem 的方法来安装,输入的命令如下 (开始是显示 ruby 和 gem 的版本)
D:\>ruby -v
ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]

D:\>gem -v
0.9.4

(下载失败的时候)
D:\> gem install rails --include-dependencies
Bulk updating Gem source index for: http://gems.rubyforge.org
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    timed out fetching http://gems.rubyforge.org/gems/activesupport-2.0.2.gem

(下载成功的时候)
D:\> gem install rails --include-dependencies
Successfully installed rails-2.0.2
Successfully installed activesupport-2.0.2
Successfully installed activerecord-2.0.2
Successfully installed actionpack-2.0.2
Successfully installed actionmailer-2.0.2
Successfully installed activeresource-2.0.2
Installing ri documentation for activesupport-2.0.2...
Installing ri documentation for activerecord-2.0.2...
Installing ri documentation for actionpack-2.0.2...
Installing ri documentation for actionmailer-2.0.2...
Installing ri documentation for activeresource-2.0.2...
Installing RDoc documentation for activesupport-2.0.2...
Installing RDoc documentation for activerecord-2.0.2...
Installing RDoc documentation for actionpack-2.0.2...
Installing RDoc documentation for actionmailer-2.0.2...
Installing RDoc documentation for activeresource-2.0.2...

第三种方法
D:\work\depot> gem install -v=1.2.6 rails
Bulk updating Gem source index for: http://gems.rubyforge.or
Install required dependency activesupport? [Yn]  y
Install required dependency activerecord? [Yn]  y
Install required dependency actionpack? [Yn]  y
Install required dependency actionmailer? [Yn]  y
Install required dependency actionwebservice? [Yn]  y
Successfully installed rails-1.2.6
Successfully installed activesupport-1.4.4
Successfully installed activerecord-1.15.6
Successfully installed actionpack-1.13.6
Successfully installed actionmailer-1.3.6
Successfully installed actionwebservice-1.2.6
Installing ri documentation for activesupport-1.4.4...
Installing ri documentation for activerecord-1.15.6...
Installing ri documentation for actionpack-1.13.6...
Installing ri documentation for actionmailer-1.3.6...
Installing ri documentation for actionwebservice-1.2.6...
Installing RDoc documentation for activesupport-1.4.4...
Installing RDoc documentation for activerecord-1.15.6...
Installing RDoc documentation for actionpack-1.13.6...
Installing RDoc documentation for actionmailer-1.3.6...
Installing RDoc documentation for actionwebservice-1.2.6...

第一种方法参考
<<Web开发敏捷之道--应用Rails进行敏捷Web开发,第二版>>
中文版 林芷薰 译 透明 审校

第二种方法参考
<<应用Rails进行敏捷Web开发>>
中文版 林芷薰 译 透明 审校

有个问题:
如果我用代理服务器上网,
我又想用第二种方法来安装,
怎么设置才能够正确的下载呢?

你可能感兴趣的:(应用服务器,敏捷开发,Ruby,ActiveRecord,Rails)