Install Rails Error “invalid gem: package is corrupt”

后端 未结 4 1801
花落未央
花落未央 2020-12-28 16:14

I am running Mac OSX 10.9.1 and I am using RVM to manage Ruby v2.0.0-p353.

When I try to install Rails I get this error:

Ryans-MacBook-Air-2:~ ryan$          


        
4条回答
  •  悲&欢浪女
    2020-12-28 16:57

    Following Steps worked for me -

    1. Go to corrupted package/gem location

      $ cd /Users/ryan/.rvm/gems/ruby-2.0.0-p353/cache/

    2. Remove corrupted package/gem

      $ rm i18n-0.6.9.gem

    3. Now install that specific gem OR $ bundle install

提交回复
热议问题