Search code examples
rubylinuxcentoslibyaml

Reinstall Ruby to use libyaml


I have just installed (built from source) Ruby 1.9.3 onto my CentOS 6.4 system, but found shortly afterwards that I should have installed libyaml first.

How do I uninstall Ruby 1.9.3, so that I can install libyaml before rebuilding and reinstalling Ruby? Are there any other libraries I should install at the same time as libyaml to avoid having to go through this for a second time?

If it makes any difference, I'm doing this on a machine that isn't connected to the internet.


Solution

  • Recompiling and reinstalling over the top seemed to work fine.