最近电脑新装了 ruby 和 rails,版本号为 ➜ ~ ruby -v ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-darwin14.0] ➜ ~ rails -v Rails 4.2.0 ➜ ~
但是在创建新的 rails 应用时,bundle install 那里总是出错,显示
Bundler::GemspecError: Could not read gem at /Users/xxxx/.rvm/gems/ruby-2.1.3/cache/web-console-2.0.0.gem. It may be corrupted.
An error occurred while installing web-console (2.0.0), and Bundler cannot continue.
Make sure that `gem install web-console -v '2.0.0'` succeeds before bundling.
好像是说这个 gem 包坏了?搜了一圈没看到这个问题,不知道该怎么解决?