LoginSignup
0
0

More than 5 years have passed since last update.

therubyracer がbundle install で入らない

Posted at

Mac 10.9.5
ruby 2.2.2

突然bundle installが通らなくなった

リポジトリのディレクトリを変えようかなから始まった

既にGemfile.lockがあるので、bundle installするとそこに記述されたバージョンを取ってくる

therubyracer 0.12.2
libv8 3.16.14.15

解決

Gemfile.lockを削除しtherubyracer、libv8のバージョンを固定してbundle installしたら入った。
どのバージョンに固定したかは以下の記事を参考にしました。

以下を実行した結果、私の場合x86_64-darwin-13が出力されました。

$ ruby -rubygems -e 'puts Gem::Platform.new(RUBY_PLATFORM)' - See more at: http://3.1415.jp/d3wpyqjr#sthash.kCD9jw8J.dpuf

なので、Gemfileに以下のようにバージョン固定
therubyracer 0.12.1
libv8 3.16.14.3

疑問

各環境でOSのバージョンが異なるけど、Gemfileの管理は一体どうすれば??

0
0
3

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
0
0