打印

出错:gem install rails --source=http://gems.rubyonrails.org

出错:gem install rails --source=http://gems.rubyonrails.org

出错:如何处理?
F:\DOCUME~1\ADMINI~1>gem install rails --source=http://gems.rubyonrails.org
Bulk updating Gem source index for: http://gems.rubyonrails.org
Select which gem to install for your platform (i386-mswin32)
1. rails 2.0.2 ()
2. rails 2.0.1 (ruby)
3. rails 2.0.0 (ruby)
4. rails 1.99.1 (ruby)
5. Skip this gem
6. Cancel installation
> 1
Install required dependency activesupport? [Yn]  y
Select which gem to install for your platform (i386-mswin32)
1. activesupport 2.0.2 ()
2. Skip this gem
3. Cancel installation
> 1
ERROR:  While executing gem ... (OpenURI::HTTPError)
    404 Not Found

F:\DOCUME~1\ADMINI~1>

TOP

把gem升级到最新版

gem update --system
First they ignore you, then they laugh at you, then they fight you, then you win.

TOP