Reinstall ruby (or just yaml lib)

Posted by Christian Sciberras on Server Fault See other posts from Server Fault or by Christian Sciberras
Published on 2012-06-18T15:05:35Z Indexed on 2012/06/18 15:17 UTC
Read the original article Hit count: 282

Filed under:
|
|

I've installed ruby 1.9 from source, and tried installing gem 'bundler':

< gem install bundler
> /usr/local/lib/ruby/1.9.1/yaml.rb:56:in `<top (required)>':
> It seems your ruby installation is missing psych (for YAML output).
> To eliminate this warning, please install libyaml and reinstall your ruby.
> ....

I've not been able to cleanly uninstall ruby (wtf?!), and installing libyaml at this point didn't help either.

So it seems I've ended up with a fk-ed up server since I can't rollback nor fix the issue. Of course, I do have backups, but this situation is ridiculous nonetheless.

Surely there must be a real fix?

© Server Fault or respective owner

Related posts about centos

Related posts about ruby