문제

The following error is displayed in command prompt in Windows 7

C:\Users\rd\Desktop\Training\Problem2\sudoku\sudoku>gem install rest-client WARNING: RubyGems 1.2+ index not found for: http://gems.rubyforge.org/

RubyGems will revert to legacy indexes degrading performance. ERROR: could not find gem rest-client locally or in a repository

도움이 되었습니까?

해결책

Default gem source has been changed from http://gems.rubyforge.org to http://rubygems.org

Remove rubyforge from your gem sources by doing so

gem source --remove http://gems.rubyforge.org/

Add rubygems to your gem sources by doing so

gem source --add http://rubygems.org

Now when you do gem sources then you will not have http://gems.rubyforge.org and http://rubygems.org should be present.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top