I've been trying to install and update different gems to work with Ruby
on Rails, but keep getting the same error, apparently indicating I can't
install or update any gem:
Can you run the script linked there and paste your output?
Since this is (potentially) a networking issue, any information about your setup (system version, network config, any proxies in use, etc) would be useful.