IT分からんわ~_~;

IT色々お勉強中のブログ

よくあるgem libv8とtherubyracerのインストールでエラーになるやつ

An error occurred while installing libv8 (3.16.14.7), and Bundler cannot continue.

libv8はjavascript v8の何からしい

bundle config build.libv8 --with-system-v8

こうするとlibv8はインストールできるがtherubyracerでエラー

An error occurred while installing therubyracer (0.12.2), and Bundler cannot continue.

~/.bundle/configの以下を消して

UNDLE_BUILD__NOKOGIRI: "--use-system-libraries"
BUNDLE_BUILD__LIBV8: "--with-system-v8"
bundle update libv8

動いたね

d.hatena.ne.jp