Read more

SSL certificate problem, when trying to install the libyaml package

Andreas Robecke
August 27, 2012Software engineer

I was experiencing the following problem:

 It seems your ruby installation is missing psych (for YAML output). 
 To eliminate this warning, please install libyaml and reinstall your ruby
Illustration online protection

Rails Long Term Support

Rails LTS provides security patches for old versions of Ruby on Rails (2.3, 3.2, 4.2 and 5.2)

  • Prevents you from data breaches and liability risks
  • Upgrade at your own pace
  • Works with modern Rubies
Read more Show archive.org snapshot

So I tried to install the libyaml package via:

rvm pkg install libyaml

This is when I experienced the SSL certification problem mentioned above. This happens when your RVM certificates have expired. You can fix this by updating them via:

 rvm get stable

After doing that curl could verify the SSL certificate and I was able to install the libyaml package.
Finally after reinstalling my ruby via:

rvm reinstall ruby-x.y.z

everything worked fine.

Posted by Andreas Robecke to makandra dev (2012-08-27 12:08)