Fixing Unresolved or ambiguous specs warning message

In the last few days every time I ran a Ruby command or anything to do with Rails or RubyGems, I got this warning: $ bin/rails c WARN: Unresolved or ambiguous specs during Gem::Specification.reset: stringio (>= 0) Available/installed versions of this gem: - 3.1.2 - 3.1.0 WARN: Clearing out unresolved specs. Try 'gem cleanup <gem>' Please report a bug if this causes problems. The command itself ran…