LoginSignup
5
5

More than 5 years have passed since last update.

mini_racerのインストールでこける

Posted at

bundle install しようとしたらlibv8のインストールでこける。
エラーを見るとlibv8, mini_racerのインストールで引っかかってるみたい。

環境

  • macOS High Sierra
  • ruby 2.4.0
  • Rails 5.1.0

エラー内容

$ bundle install


...

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

In Gemfile:

  mini_racer

対処法

Gemfile.lockを直接編集してlibv8とmini_racerのバージョンを上げた。

Gemfile.lock

// 変更前
- mini_racer (0.1.9)
- libv8 (~> 5.3)

// 変更後
+ mini_racer (0.1.14)
+ libv8 (~> 5.9)

結果

OK!

$ bundle install


...

Bundle complete!
5
5
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
5
5