Error install rubyracer with error “invalid gem: package is corrupt”

前端 未结 2 574
-上瘾入骨i
-上瘾入骨i 2020-12-16 00:20

When trying to install therubyracer on OSX 10.9, with the command:

$ gem install therubyracer -v \'0.12.0\'

I get the error:



        
2条回答
  •  谎友^
    谎友^ (楼主)
    2020-12-16 01:07

    Delete /Users/doved/.rvm/gems/ruby-2.0.0-p353/cache/therubyracer-0.12.0.gem and install the gem again. RubyGems didn't download the file properly, and the system is properly reporting that the gem is corrupted.

提交回复
热议问题