Red Hat Satellite client fails with original ruby gem error while running puppet.

Solution Verified - Updated -

Issue

  • After executing puppet agent -tv on the client system puppet fails with the error:

      /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in  gem_original_require': no such file to load -- json (LoadError)
      from /usr/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:31:in `require
    

Environment

  • Red Hat Satellite 6.5 and above
  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content