Tag Archives: rubygem

[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… 🙂