I'm really trying hard to remember how I got around this problem 🤔
Have you tried installing Rubygems manually as instructed below?
Download RubyGems | RubyGems.org | your community gem host favicon(rubygems.org)
Keep your head up mate... You'll get it sorted in the end ☺