Rest-Client Installation not working properly
-
26-09-2019 - |
Question
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
Solution
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.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow