ruby - Could not read gem
黄舟
黄舟 2017-04-24 09:09:57
0
1
572

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 已经存在

请解答?

黄舟
黄舟

人生最曼妙的风景,竟是内心的淡定与从容!

Antworte allen(1)
大家讲道理

权限问题,需要 bundle install 前加sudo

Beliebte Tutorials
Mehr>
Neueste Downloads
Mehr>
Web-Effekte
Quellcode der Website
Website-Materialien
Frontend-Vorlage
Über uns Haftungsausschluss Sitemap
Chinesische PHP-Website:Online-PHP-Schulung für das Gemeinwohl,Helfen Sie PHP-Lernenden, sich schnell weiterzuentwickeln!