LoginSignup
14
11

More than 5 years have passed since last update.

libv8がOS X 10.9以上で入らない

Posted at

Macに開発環境を移動させたら色々つまずきました。

Vagrantでは問題なかったlibv8がMacでは入らない。。。

Installing libv8 3.16.14.13 with native extensions

Gem::Ext::BuildError: ERROR: Failed to build gem native extension.

    /Users/entershare/.rbenv/versions/2.3.0/bin/ruby -r ./siteconf20160329-32646-120kz1c.rb extconf.rb
creating Makefile

Google先生に聞いた対処法はこんな感じ。

gem install libv8 バージョン -- --with-system-v8
bundle config build.libv8 --with-system-v8

これで問題なくインストールできました。

14
11
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
14
11