title: How to resolve bundle install rake error and Gem::RemoteFetcher::FetchError
body: <p>When I run <code>bundle install</code> on ruby 2.1.2 I get:</p>
  
  <pre><code>Gem::RemoteFetcher::FetchError: SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.org/gems/rake-10.4.2.gem)
  An error occurred while installing rake (10.4.2), and Bundler cannot continue.
  Make sure that `gem install rake -v '10.4.2'` succeeds before bundling.
  </code></pre>
  
  <p>When I run <code>gem install rake</code> I get:</p>
  
  <pre><code>ERROR:  Could not find a valid gem 'bundle' (&gt;= 0), here is why:
        Unable to download data from https://rubygems.org/ - SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed
  </code></pre>
  
  <p>When I run <code>which bundle</code> I get:</p>
  
  <pre><code>/usr/local/rvm/gems/ruby-2.1.2@global/bin/bundle
  </code></pre>
  
  <p>This error is preventing me from doing development work on localhost:3000 before deploying. </p>
  
  <p>Does anyone know how to resolve this issue?</p>