찾다

 >  Q&A  >  본문

ruby - Could not read gem

Could not read gem at /Library/Ruby/Gems/2.0.0/ruby/2.0.0/cache/will_paginate-3.0.7.gem

Bundle Install 提示如下:

Bundler::GemspecError: Could not read gem at /Library/Ruby/Gems/2.0.0/ruby/2.0.0/cache/will_paginate-3.0.7.gem. It may be corrupted.
An error occurred while installing will_paginate (3.0.7), and Bundler
cannot continue.
Make sure that gem install will_paginate -v '3.0.7' succeeds before
bundling.

可是 will_paginate -v '3.0.7' 确认安装成功

前往 /Library/Ruby/Gems/2.0.0/ruby/2.0.0/cache/ 文件夹 , will_paginate 已经存在

请解答?

黄舟黄舟2775일 전625

모든 응답(1)나는 대답할 것이다

  • 大家讲道理

    大家讲道理2017-04-24 09:11:57

    권한 문제, 번들 설치 전 sudo 추가 필요

    회신하다
    0
  • 취소회신하다