title: Install Rails Error "invalid gem: package is corrupt"
body: <p>I am running Mac OSX 10.9.1 and I am using RVM to manage Ruby v2.0.0-p353.</p>
  
  <p>When I try to install Rails I get this error:</p>
  
  <pre><code>Ryans-MacBook-Air-2:~ ryan$ gem install rails
  ERROR:  Error installing rails:
  invalid gem: package is corrupt, exception while verifying: undefined method`path2class' for #&lt;Psych::ClassLoader:0x0000010c9d0be0&gt; (NoMethodError) in /Users/ryan/.rvm/gems/ruby-2.0.0-p353/cache/i18n-0.6.9.gem
  </code></pre>
  
  <p>Here is a list of gems I have installed: </p>
  
  <pre><code>Ryans-MacBook-Air-2:~ ryan$ gem list
  
  *** LOCAL GEMS ***
  
  bigdecimal (1.2.3, 1.2.0)
  bundler (1.5.1)
  bundler-unload (1.0.2)
  executable-hooks (1.2.6)
  gem-wrappers (1.2.1)
  io-console (0.4.2)
  json (1.8.1, 1.7.7)
  minitest (5.2.0, 4.3.2)
  psych (2.0.2, 2.0.0)
  rake (10.1.1, 0.9.6)
  rdoc (4.1.0, 4.0.0)
  rubygems-bundler (1.4.2)
  rvm (1.11.3.8)
  test-unit (2.5.5, 2.0.0.0)
  </code></pre>
  
  <p>Does anyone have suggestions to fix this? </p>