好的。我第一次尝试 bootstarp,并在我的 gemfile 中添加了 gem “therubyracer”和“less-rails”以及“twitter-bootstrap-rails”。后
捆绑安装
我收到以下错误。
Bundler::GemspecError: Could not read gem at /home/addie/.rvm/gems/ruby-2.1.1/cache/libv8-3.16.14.3-x86_64-linux.gem. It may be corrupted.
An error occurred while installing libv8 (3.16.14.3), and Bundler cannot
continue.
Make sure that `gem install libv8 -v '3.16.14.3'` succeeds before bundling.
正如它所说,我试过:
宝石安装 libv8 -v '3.16.14.3'
它确实成功了。
Building native extensions. This could take a while...
Successfully installed libv8-3.16.14.3
Parsing documentation for libv8-3.16.14.3
Done installing documentation for libv8 after 0 seconds
1 gem installed
但是当我再次尝试捆绑安装时,我得到与以前相同的错误:
Bundler::GemspecError: Could not read gem at /home/addie/.rvm/gems/ruby-2.1.1/cache/libv8-3.16.14.3-x86_64-linux.gem. It may be corrupted.
An error occurred while installing libv8 (3.16.14.3), and Bundler cannot
continue.
Make sure that `gem install libv8 -v '3.16.14.3'` succeeds before bundling.
它太烦人了!有人可以帮帮我吗?
编辑:
正如大多数 libv8 问题的解决方案所暗示的那样,我尝试过
gem install libv8 -v '3.11.8.17' -- --with-system-v8
它也成功了,但捆绑安装错误没有任何区别。