title: ERROR: While executing gem ... (Gem::FilePermissionError)
body: <p>I have install rbev</p>
  
  <pre><code>rbenv version
  2.0.0-p247 (set by /Users/amritdeepdhungana/.rbenv/version)
  </code></pre>
  
  <p>, ruby </p>
  
  <pre><code>ruby -v
  ruby 2.0.0p247 (2013-06-27 revision 41674) [universal.x86_64-darwin13]\
  </code></pre>
  
  <p>and rails </p>
  
  <pre><code>rails -v
  Rails 4.0.1
  </code></pre>
  
  <p>I have create new project and bundle it. But I get this problem </p>
  
  <pre><code>Installing rake (10.1.1)
  Errno::EACCES: Permission denied - /Library/Ruby/Gems/2.0.0/build_info/rake-10.1.1.info
  An error occurred while installing rake (10.1.1), and Bundler cannot continue.
  Make sure that `gem install rake -v '10.1.1'` succeeds before bundling.
  </code></pre>
  
  <p>After that, I have install rake gem but again I got error</p>
  
  <pre><code>gem install rake -v '10.1.1'
  ERROR:  Could not find a valid gem 'rake' (= 10.1.1), here is why:
            Unable to download data from https://rubygems.org/ - too many connection resets (https://s3.amazonaws.com/production.s3.rubygems.org/specs.4.8.gz)
  ERROR:  Possible alternatives: rake
  </code></pre>
  
  <p>How can I set the permission while install any gem package ?</p>