gem ruby on rails 安装出错GemNotFoundException

安装了One-Click Ruby Installer for Windows,然后安装rails
C:\Documents and Settings\xxx>gem install rails
ERROR: While executing gem … (Gem::GemNotFoundException)
Could not find rails (> 0) in any repository

需要先升级gem

gem update --system

你可能感兴趣的:(gem ruby on rails 安装出错GemNotFoundException)