I was just helping my friend solving an error on his ubuntu server when upgrading RubyGems. The problem he had gotten is something like this: SocketError:..