dig through the web

プログラミングの勉強とメモ

Bootstrap導入時にlibv8でエラー

RailsにBootstrapを導入しようとした際に謎のgemエラーが出たのでメモ。

An error occurred while installing libv8 (3.16.14.17), and Bundler cannot continue.
Make sure that `gem install libv8 -v '3.16.14.17'` succeeds before bundling.

ほぼほぼこちらの記事そのままやって対応できました(libv8のversionをいじっただけ)

gem install libv8 -v '3.16.14.17' -- --with-system-v8
bundle config build.libv8 --with-system-v8
bundle update