Solving the error when running gem install or gem update

when seeing
ERROR: While executing gem … (ArgumentError)
uri scheme is invalid

try looking into your gem sources
gem sources

and then remove all weird or unnecessary sources
until you are left with only

then try to install or update a gem and you’ll hopefully not see this

i removed

which one of them caused the problem

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs