我正在运行 CentOS 5.9 并在其上安装了 RVM。但是,每当我运行rvm requirements
或 时rvm install 1.9.3
,我都会得到:
--> Processing Dependency: libyaml-0.so.1()(64bit) for package: libyaml-devel
--> Finished Dependency Resolution
libyaml-devel-0.1.2-3.el5.x86_64 from epel has depsolving problems
--> Missing Dependency: libyaml-0.so.1()(64bit) is needed by package libyaml-devel-0.1.2-3.el5.x86_64 (epel)
Error: Missing Dependency: libyaml-0.so.1()(64bit) is needed by package libyaml-devel-0.1.2-3.el5.x86_64 (epel)
但是,当我尝试安装 libyaml-0.so.1() 时,它会尝试安装已安装的 libyaml-devel。libyaml-0.so.1 到底是什么?我该如何解决这个问题?
答案1
libyaml
ruby
Psych
是用来rubygems
加载 gem 规范的库。
确保您的 rvm 是最新的:
rvm get stable
然后再次尝试要求:
rvm requirements
如果这没有帮助,请为 rvm 开立票据:https://github.com/wayneeseguin/rvm/issues