Add lastest(?) version of Ruby before installing RubyGems.