[Puppet] The pesky error “`require’: no such file to load — json (LoadError)” when running puppet in AWS Linux

I encountered this error again when running puppet version 3.8.2 … I know I encountered this error before but I it took me a few minutes to remember how I solved it… so that I won’t forget in the future, I’m posting this here.

The error looks like this:

Screen Shot 2015-09-02 at 2.44.24 PM

To solve it, just run: yum install rubygem18-json.x86_64

Somebody forgot to include json gem as a dependency… 🙂

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.