title: Error while installing rails `$ gem install rails`
body: <p>Hi I am new to Ruby on Rails and trying to setup in my machine [Ububntu 12.04 LTS]. I successfully installed <code>Ruby</code> and <code>Gem</code> now I am getting error while installing <code>Rails</code>
  Here is my version of <code>Ruby</code> and <code>Gem</code></p>
  
  <pre><code>$ ruby -v
  ruby 2.0.0p247 (2013-06-27 revision 41674) [x86_64-linux]
  $ gem -v
  2.1.7
  </code></pre>
  
  <p>Now when I try command <code>$ sudo gem install rails</code> or <code>$ gem install rails</code></p>
  
  <pre><code>ERROR:  Could not find a valid gem 'rails' (&gt;= 0), here is why:
        Unable to download data from https://rubygems.org/ - SSL_connect SYSCALL returned=5 errno=0 state=SSLv3 read server session ticket A (https://rubygems.org/latest_specs.4.8.gz)
  </code></pre>
  
  <p>I looked this <a href="https://stackoverflow.com/a/19151697/2450409">answer</a> and updated the ca-certificate using <code>$ sudo update-ca-certificates</code> but it is still not working?</p>
  
  <p>Help me as I new to <code>RoR</code> I have no idea what to do next since I have applied all measures I could. Thank you in advanced.</p>
  
  <p><strong>EDIT:</strong> Suggest me a way I can solve this problem, incase I don't find one I will be doing   it using RVM.</p>