开发者

Rest-Client Installation not working properly

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: ht开发者_如何学Ctp://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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜