Support for the Ruby 2.4 series has ended. See here for reference.
LoadError
Raised when RubyGems is unable to load or activate a gem. Contains the name and version requirements of the gem that either conflicts with already activated gems or that RubyGems is otherwise unable to activate.