沒問題。我第一次嘗試bootstarp,並將寶石「therubyracer」和「less-rails」與「twitter-bootstrap-rails」一起添加到我的gem文件中。即使安裝成功後仍然會出現libv8錯誤
後捆綁安裝
我得到以下錯誤。
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問題建議,我試圖
創業板安裝libv8 -v '3.11.8.17' - --with系統-V8
它也成功,但捆綁安裝錯誤沒有區別。
'gem list | grep libv' – Nimir 2014-09-06 08:02:50