problem with libyaml

Hi all,

I am a total newbie in both ruby and rails development.

I have problem with libyaml (apparently).

I had rvm installed and did: rvm install 1.9.3. Installation of ruby
was completed successfully however it complained about libyaml
(below):

Fetching yaml-0.1.4.tar.gz to /Users/pouya314/.rvm/archives
Extracting yaml-0.1.4.tar.gz to /Users/pouya314/.rvm/src
Error running 'tar mzxf /Users/pouya314/.rvm/archives/
yaml-0.1.4.tar.gz -C /Users/pouya314/.rvm/src ', please read /Users/
pouya314/.rvm/log/yaml/extract.log
Configuring yaml in /Users/pouya314/.rvm/src/yaml-0.1.4.
Error running ' ./configure --prefix="/Users/pouya314/.rvm/usr" ',
please read /Users/pouya314/.rvm/log/yaml/configure.log
Compiling yaml in /Users/pouya314/.rvm/src/yaml-0.1.4.
Error running 'make ', please read /Users/pouya314/.rvm/log/yaml/
make.log

I ignored the error at the time and went on to install rails but i got
the following warning:

It seems your ruby installation is missing psych (for YAML output). To
eliminate this warning, please install libyaml and reinstall your
ruby.