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

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/
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/

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

I’m on os x lion.
xcode version = 4.3
rvm version = 1.10.2

Please reply if you know how to solve this issue.

Thanks in advance.