MacbookをMojaveにアップデートしたらbundle installでこける
問題
MacbookをMojave 10.14にアップデートしたらbundle installでこける
(略) An error occurred while installing ffi (1.9.25), and Bundler cannot continue. Make sure that `gem install ffi -v '1.9.25' --source 'https://rubygems.org/'` succeeds before bundling. In Gemfile: selenium-webdriver was resolved to 3.14.0, which depends on childprocess was resolved to 0.9.0, which depends on ffi
解決方法
$ sudo xcode-select --reset
今まで入ってたはずなのに
- パッケージのインストール
$ open /Library/Developer/CommandLineTools/Packages
でFinderにインストール用のパッケージがあるのでダブルクリックでインストール