title: Ruby Gem Installation Error + You don't have write permissions for the /usr/local/rvm/gems/ruby-2.0.0-p353 directory
body: <p>In my local machine, I am trying to install a formatter gem related to date. but while installing I am getting some strange error.</p>
  
  <pre><code>[admin@localhost test_folder]$ gem install formatter-0.0.1.gem
  ERROR:  While executing gem ... (Gem::FilePermissionError)
  You don't have write permissions for the /usr/local/rvm/gems/ruby-2.0.0-p353
  directory.
  </code></pre>
  
  <p>I am not able to install it locally. Operating system is CentOS and Ruby version is Ruby2.</p>
  
  <p>Thanks in advance</p>