title: rbenv build failed on Ubuntu 14.04
body: <p>I've successfully installed rbenv (along with the build tools) on my Ubuntu 14.04 desktop, and that appears to be working fine, but as soon as I try to install ruby 2.1.1, the build fails:</p>
  
  <pre><code>daniel@grape:~$ rbenv install 2.1.1
  Downloading yaml-0.1.6.tar.gz...
  -&gt; http://dqw8nmjcqpjn7.cloudfront.net/5fe00cda18ca5daeb43762b80c38e06e
  Installing yaml-0.1.6...
  Installed yaml-0.1.6 to /home/daniel/.rbenv/versions/2.1.1
  
  Downloading ruby-2.1.1.tar.gz...
  -&gt; http://dqw8nmjcqpjn7.cloudfront.net/e57fdbb8ed56e70c43f39c79da1654b2
  Installing ruby-2.1.1...
  
  BUILD FAILED
  
  Inspect or clean up the working tree at /tmp/ruby-build.20140418142258.3543
  Results logged to /tmp/ruby-build.20140418142258.3543.log
  
  Last 10 log lines:
  installing default ripper libraries
  compiling ossl_pkcs7.c
  compiling ossl_ssl.c
  installing default openssl libraries
  linking shared-object openssl.so
  make[2]: Leaving directory `/tmp/ruby-build.20140418142258.3543/ruby-2.1.1/ext/openssl'
  linking shared-object ripper.so
  make[2]: Leaving directory `/tmp/ruby-build.20140418142258.3543/ruby-2.1.1/ext/ripper'
  make[1]: Leaving directory `/tmp/ruby-build.20140418142258.3543/ruby-2.1.1'
  make: *** [build-ext] Error 2
  </code></pre>
  
  <p>The contents of the log file can be found here: <a href="http://pastebin.com/SXxTeCJY">http://pastebin.com/SXxTeCJY</a></p>
  
  <p>I've done some searching for help with this issue, including following what is said here: <a href="https://github.com/sstephenson/ruby-build/wiki">https://github.com/sstephenson/ruby-build/wiki</a> - but I've not had any joy.</p>