gem install bundler错误

时间:2015-11-14 14:40:45

标签: ruby-on-rails ruby

无法安装bundler gem,这是我安装后出现的错误:

Fetching: bundler-1.10.6.gem (100%)  
ERROR:  Error installing bundler:
    invalid gem: package is corrupt, exception while verifying: undefined method `size' for nil:NilClass (NoMethodError) in /Users/hadifarhat/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/cache/bundler-1.10.6.gem

1 个答案:

答案 0 :(得分:0)

看起来您的下载已被中断,请删除bundler-1.10.6.gem文件,然后重试。