title: Inspect or clean up the working tree error when installing Ruby 2.1.3 on Mac OS X 10.9.5
body: <p>I'm trying to install Ruby 2.1.3 on Mac OS X 10.9.5 using the <code>rbenv install 2.1.3</code> command.  However I get the error message below.  I tried every suggestion on stack overflow and elsewhere.  Nothing seems to be working.  I currently have the original ruby version that came with 10.9.5, Ruby 2.1.3p242.  Brew doctor says everything is fine and rbenv is up to date.  Thanks so much!  Trying to learn Ruby and Ruby on Rails but I can't get passed this stage.</p>
  <blockquote>
  <p>Inspect or clean up the working tree at /var/folders/zg/s1jqg94n0hjggdnmb442n2lc0000gn/T/ruby-build.20141025184549.88303</p>
  <p>Results logged to /var/folders/zg/s1jqg94n0hjggdnmb442n2lc0000gn/T/ruby-build.20141025184549.88303.log</p>
  <p>Last 10 log lines:</p>
  <p>linking shared-object openssl.bundle</p>
  <p>installing default openssl libraries</p>
  <p>compiling raddrinfo.c</p>
  <p>compiling ifaddr.c</p>
  <p>installing default socket libraries</p>
  <p>compiling init.c</p>
  <p>compiling constants.c</p>
  <p>linking shared-object socket.bundle</p>
  <p>linking shared-object ripper.bundle</p>
  <p>make:  [build-ext] Error 2</p>
  </blockquote>