Fearless Fool wrote in post #1034648:
> I'm doing a fresh sandboxed install of Ruby 'n Rails 'n such.  The
> install is evidently having trouble finding yaml.h (or libyaml) and
> building psych.  I'm running OSX 10.6.8 ("Snow Leopard")
>
> Synopsis:
> ======
>
> $ # INSTALL RUBY
> $ cd ../ruby-1.9.3-p0
> $ ./configure --prefix=$SANDBOX/usr
> <snip...>
> $ make install
> <snip...>
> configuring psych
> yaml.h is missing. Please install libyaml.
> Failed to configure psych. It will not be installed.
> <snip...>
>

You missed to tell Ruby's configure to use the $SANDBOX/usr location.

./configure --prefix=$SANDBOX/usr --with-opt-dir=$SANDBOX/usr

Try again and let us know.

--
Luis Lavena

-- 
Posted via http://www.ruby-forum.com/.