title: Missing Required Packages? - Including libyaml
body: <p>I feel like my computer has some deep seated issues and is 100% against me installing rails/ruby/rvm and the rest on it. Or I'm just incompetent :)</p>
  
  <p>I have installed rvm and ruby without issues. Here is my current setup (Log from Terminal):</p>
  
  <pre><code>Mac-mini:rubygems-1.8.25 Riley$ rvm -v
  
  rvm 1.18.15 (master) by Wayne E. Seguin &lt;wayneeseguin@gmail.com&gt;, Michal Papis &lt;mpapis@gmail.com&gt; [https://rvm.io/]
  
  Mac-mini:rubygems-1.8.25 Riley$ ruby -v
  ruby 1.9.3p392 (2013-02-22 revision 39386) [x86_64-darwin12.2.1]
  </code></pre>
  
  <p>However rails is a little different..</p>
  
  <pre><code>Mac-mini:rubygems-1.8.25 Riley$ rails -v
  /Users/Jamie/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/yaml.rb:56:in `&lt;top (required)&gt;':
  It seems your ruby installation is missing psych (for YAML output).
  To eliminate this warning, please install libyaml and reinstall your ruby.
  Rails 3.2.12
  </code></pre>
  
  <p>So I try to install libyaml:</p>
  
  <pre><code>rvm pkg install libyaml
  rvm reinstall all --force
  </code></pre>
  
  <p>But then I get this:</p>
  
  <pre><code>Missing required packages: autoconf, automake, libtool, pkg-config, apple-gcc42, libyaml, readline, libxml2, libxslt, libksba, openssl, curl-ca-bundle, sqlite.
  </code></pre>
  
  <p>as yellow output, despite it saying the install was successful. Okay, so then I check on rails again.</p>
  
  <pre><code>Mac-mini:rubygems-1.8.25 Riley$ rails -v
  /Users/Jamie/.rvm/rubies/ruby-1.9.3-p392/lib/ruby/1.9.1/yaml.rb:56:in `&lt;top (required)&gt;':
  It seems your ruby installation is missing psych (for YAML output).
  To eliminate this warning, please install libyaml and reinstall your ruby.
  Rails 3.2.12
  </code></pre>
  
  <p>Great. Its not working. So I try installing Homebrew to make my life a little easier.</p>
  
  <pre><code>ruby -e "$(curl -fsSL https://raw.github.com/mxcl/homebrew/go)"
  </code></pre>
  
  <p>Installed. Cool.</p>
  
  <pre><code>Mac-mini:API Riley$ brew help
  /usr/local/bin/brew: /usr/local/Library/brew.rb: /System/Library/Frameworks/Ruby.framework/Versions/1.8/usr/bin/ruby: bad interpreter: No such file or directory
  /usr/local/bin/brew: line 21: /usr/local/Library/brew.rb: Undefined error: 0
  </code></pre>
  
  <p>Huh? And that happens on all <code>brew</code> actions, just to be clear.</p>
  
  <p>Now, this is just what I've been facing in the last few hours. I've been trying to get this going for a few days now and I keep getting new errors. I've tried completely removing the Triple R (RVM, Rails and Ruby) and reinstalling and no amount of googling and debugging has seemed to work. I just don't know what to do anymore. I haven't made any progress. I've installed the Triple R on a few other computers, but this computer is just refusing to work with me.</p>
  
  <p>Help to get the Triple R working on my computer would be GREATLY appreciated.</p>
  
  <p>Thanks</p>