From: Robert Klemme Date: 2011-11-03T07:53:50+09:00 Subject: Re: Problem with Ruby 1.9.3 RC1 and YAML files On Mon, Oct 3, 2011 at 9:01 AM, prasad wrote: > 2011/10/1 Luis Lavena > >> >> Either you stick to 1.9.2 and Syck or help us solve any possible issue >> with YAML files. > Is this a related problem: > >  $ uname -a > Linux rcc 2.6.32-24-generic #38-Ubuntu SMP Mon Jul 5 09:20:59 UTC 2010 > x86_64 GNU/Linux > > $ ruby -v > ruby 1.9.3dev (2011-09-23 revision 33323) [x86_64-linux] > > $ sudo gem install rake > /usr/local/lib/ruby/1.9.1/yaml.rb:56:in `': > It seems your ruby installation is missing psych (for YAML output). > To eliminate this warning, please install libyaml and reinstall your ruby. The cause could be this: $ cat -n ruby-1.9.pc 1 arch=i386-cygwin 2 sitearch=${arch} 3 prefix=/usr/local 4 exec_prefix=${prefix} 5 bindir=${exec_prefix}/bin 6 libdir=${exec_prefix}/lib 7 includedir=${prefix}/include 8 MAJOR=1 9 MINOR=9 10 TEENY=1 11 ruby_version=1.9.1 12 RUBY_PROGRAM_VERSION=1.9.3 13 RUBY_BASE_NAME=ruby 14 RUBY_SO_NAME=${RUBY_BASE_NAME}191 15 RUBY_INSTALL_NAME=${RUBY_BASE_NAME}19 16 DEFFILE= 17 LIBPATH= 18 LIBRUBY_A=lib${RUBY_SO_NAME}-static.a 19 LIBRUBY_SO=cyg${RUBY_SO_NAME}.dll 20 LIBRUBY=lib${RUBY_SO_NAME}.dll.a 21 LIBRUBYARG_SHARED=-l${RUBY_SO_NAME} 22 LIBRUBYARG_STATIC=-l${RUBY_SO_NAME}-static 23 LIBRUBYARG=${LIBRUBYARG_SHARED} 24 LIBS=-lpthread -lrt -ldl -lcrypt 25 DLDFLAGS= -Wl,--enable-auto-image-base,--enable-auto-import 26 ruby=${bindir}/${RUBY_INSTALL_NAME}.exe 27 rubyhdrdir=${includedir}/${RUBY_BASE_NAME}-${ruby_version} 28 vendorhdrdir=${rubyhdrdir}/vendor_ruby 29 sitehdrdir=${rubyhdrdir}/site_ruby 30 31 Name: Ruby 32 Description: Object Oriented Script Language 33 Version: ${ruby_version} 34 URL: http://www.ruby-lang.org 35 Cflags: -I${rubyhdrdir}/${arch} -I${rubyhdrdir} 36 Libs: ${DLDFLAGS} ${LIBRUBYARG_SHARED} ${LIBS} 37 Requires: See line 10, 11 and 14. Is this the way it must be? Kind regards robert -- remember.guy do |as, often| as.you_can - without end http://blog.rubybestpractices.com/