Puppet error after Ruby upgrade

Topic Tools

As per the thumb rule, all your softwares should be up to date and in-sync with other tools upgrade.

But if you are getting Error in puppet after ruby upgrade like :

OR

Then, just Revert the rubygem back to previous version
First try with “rpm -qa | grep rpm” command to find out the installed version ( You can also try with locate or find or grep commands)

Download the old rub version from Download RubyGems  (I had used rubygems-1.3.1.tgz going through their download page)

Once downloaded, just extract the tar file inside the server with “tar -xzvf rubygems-1.3.1.tgz” command

Then just run ruby setup as mentioned below

Thats all, you can now verify and your puppet will run without any issue

Happy learning …

0 comments… add one

Leave a Comment