我在Windows機器上安裝了Ruby 1.8.7和Ruby 1.9.2。安裝導軌時未找到Gem存儲庫
在我的控制檯,當我做ruby -v
它給我的Ruby 1.8.7
現在,當我嘗試
gem install rails -v 2.3.8
我得到這個錯誤
ERROR: http://gems.rubyforge.org/ does not appear to be a repository
ERROR: could not find gem rails locally or in a repository
我的RubyGems版本顯示1.3。 5所以我試圖更新它
gem update --system
我得到這個錯誤
Updating RubyGems
ERROR: http://gems.rubyforge.org/ does not appear to be a repository
ERROR: While executing gem ... (Gem::RemoteFetcher::FetchError)
Errno::E10013: An attempt was made to access a socket in a way forbidden by
its access permissions. - connect(2) (http://gems.rubyforge.org/yaml)`
到底哪裏出問題了?
對不起,我投票結束這個問題。其實我犯了一個愚蠢的錯誤,我的AV防火牆是我沒有照顧的。並深入瞭解這一點。對不起 – Rohit 2011-01-28 05:47:23