On a RHEL based distro such as CentOS 6.x you need to add another yum repository such as EPEL which contain the libyaml-devel package. If you are running it as a user, as is recommended, it would be /home/$user/.rvm/usr Solution 3 If you are running rvm as root, this will get installed into /usr/local/rvm/usr. Rvm install 1.9.3 -with-libyaml-dir=/Users/ehowe/.rvm/usr Rvm reinstall 1.9.3 -with-libyaml-dir=$directory_that_rvm_installed_libyaml_to Package: jruby Maintainer for jruby is Debian Java Maintainers <> Source for jruby is src:jruby ( PTS, buildd, popcon ).You then need to recompile Ruby with the following option: ruby-json FTBFS: It seems your ruby installation is missing psych (for YAML output). This will tell you the directory that it is compiling into, in my case, it is /Users/ehowe/.rvm/usr I believe you will just need to compile libyaml from source with the following: I have to disagree with in that I think you are running CentOS or Redhat 5 which uses a a very old version of Ruby by default and I think using RVM is a much better way to go. It turned out that libyaml-devel was needed by psych. I had this problem and installing libyaml didn't help.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |