From: "Daniel Schömer" Date: 2007-11-02T04:25:36+09:00 Subject: Re: YAML on OS X Leopard Hi! gabe@dragffy.com wrote: > I'm using Leopard and it has a decent Ruby installation, so I haven't > bothered with MacPorts. Used gems to install Rails. > > However when I go in to IRB and type: > require 'yaml' > > I always get 'false'. What do I have to do to get it to work? It seems to me that yaml is loaded with rubygems, at least on my linux box: # echo $RUBYOPT -rauto_gem -Ku -rubygems # ruby -e 'puts($LOADED_FEATURES.select {|f| /yaml/ =~ f }.sort)' yaml.rb yaml/basenode.rb yaml/constants.rb yaml/error.rb yaml/rubytypes.rb yaml/stream.rb yaml/syck.rb yaml/tag.rb yaml/types.rb yaml/ypath.rb # unset RUBYOPT # ruby -e 'puts($LOADED_FEATURES.select {|f| /yaml/ =~ f }.sort)' (no output) I'm using ruby 1.8.6 on Gentoo/Linux. Daniel -- If ruby is the violin of programming, Visual Basic must be a karaoke machine.