Resolved this by running rm -rf /usr/local/lib64/gems/ruby/psych-2.2.4 and gem pristine psych --version 2.2.4 Thanks.
Ask Fedora is community maintained and Red Hat or Fedora Project is not responsible for content. Content on this site is licensed under a CC-BY-SA 3.0 license.