Bundler无法读取autoprefixer-rails-6.0.3.gem

时间:2015-09-19 11:23:25

标签: ruby-on-rails

Bundler抛出错误could not read the gem& it may be corrupted.

Bundler::GemspecError: Could not read gem at /home/pragadeesh/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/cache/autoprefixer-rails-6.0.3.gem. It may be corrupted.
An error occurred while installing autoprefixer-rails (6.0.3), and Bundler cannot continue.
Make sure that `gem install autoprefixer-rails -v '6.0.3'` succeeds before bundling.

我不知道如何解决这个问题?请帮帮我。

1 个答案:

答案 0 :(得分:0)

试试这个:

$ rm -f /home/pragadeesh/.rbenv/versions/2.2.3/lib/ruby/gems/2.2.0/cache/autoprefixer-rails-6.0.3.gem
$ gem install autoprefixer-rails