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