-
Notifications
You must be signed in to change notification settings - Fork 787
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
It seems your ruby installation is missing psych (for YAML output). To eliminate this warning, please install libyaml and reinstall your ruby. #119
Comments
What version of Ruby are you trying to install? More info please. |
I tried ruby 1.9.3, though installing 192 works... is the issue related to libyaml being installed inside /usr/local/ruby-1.9.3-p0 ? |
So installing yaml inside /usr/local solves the problem |
is there a command line arg to pass install location ?? |
I ran into this issue on Gentoo. I got around it by adding a configuration flag manually. I'm not sure why I have this issue only on this one box or why it wouldn't at least pick up the libyaml installed globally for the system ruby.
|
could not figure out a solution, compiling from source for both yaml and ruby seems to resolve the issue. wget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gz wget http://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.3-p0.tar.gz |
I had something similar; curl gave an SSL certificate error - installation of 1.9.3 worked, but with issues with yaml. One quick and dirty an insecure way to fix it was to add an option -k after curl fetch command in ~/.rvm/scripts/fetch. See more in http://stackoverflow.com/questions/6414232/curl-certificate-error-when-using-rvm-to-install-ruby-1-9-2 |
Also experiencing this issue on gentoo. The command @bbck mentioned worked for me with a minor correction. Note, use full paths in place of ~/.
|
Would someone care to add a note about this to the wiki? |
In my case, it's fixed by installing "libtool". Maybe you can find your clue in file "yaml/make.log" as install log mentions. |
I had the same problem in that the yaml installed in ruby 1.9.3 directory was referenced first, so the yaml in /usr/local/ didn't get referenced. This caused the above error. |
Thank you meisert... I have no idea what I was doing, but after massive googling ultimately it came down to reinstalling ruby clean once installing libyaml. // bye bye to you files bingo - on centos 6.3 VirtualMachine |
In my case, libyaml was already installed (according to yum). Instead of compiling libyaml from source, I installed the package "libyaml-devel" and then recompiled ruby w/out any special options. Fixed. |
Having this same problem with Ruby 2.1.0-dev on CentOS 5.x ...is there a workaround? Tried compiling libyaml and then reinstalling with It seems your ruby installation is missing psych (for YAML output).
To eliminate this warning, please install libyaml and reinstall your ruby.
/home/???/.rbenv/versions/2.1.0-dev/lib/ruby/2.1.0/rubygems/core_ext/kernel_require.rb:45:in `require': libyaml-0.so.2: cannot open shared object file: No such file or directory - /home/???/.rbenv/versions/2.1.0-dev/lib/ruby/2.1.0/x86_64-linux/psych.so (LoadError) |
This continues to be an issue. I just hit my head on this on a fresh install of 1.9.3-p392 on amazon linux release 2013.03. Edit: Turns out I was having some 32 bit vs 64 bit issues. |
We just had the problem on a freshly installed SLES 11 SP3.
And then set
in the environment. |
in my case on Ubuntu Zesty Zapus 17.04
Let's satisfy dependency
and then,
|
FWIW: I was still getting this. I had Gems redirected to under my home folder. Removing the |
Getting this issue on Suse 11 sp1.
The text was updated successfully, but these errors were encountered: