horihorikeita
@horihorikeita (kon desu)

Are you sure you want to delete the question?

If your question is resolved, you may close it.

Leaving a resolved question undeleted may help others!

We hope you find it useful!

gem install ffi ができない

解決したいこと

bundle install をしたい

発生している問題・エラー

horikeifutoshita@MacBook-Pro plum % bundle install
Your Gemfile lists the gem jwt (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Your Gemfile lists the gem lazy_high_charts (>= 0) more than once.
You should probably keep only one of them.
While it's not a problem now, it could cause errors if you change the version of one of them later.
Fetching gem metadata from https://rubygems.org/...........
error: could not lock config file .git/modules/holiday_jp/config: No such file or directory
warning: Could not unset core.worktree setting in submodule 'test/holiday_jp'
Using rake 12.3.1
Using concurrent-ruby 1.0.5
省略
Fetching ffi 1.9.23
Installing ffi 1.9.23 with native extensions
Gem::Ext::BuildError: ERROR: Failed to build gem native extension
省略
An error occurred while installing ffi (1.9.23), and Bundler cannot continue.
Make sure that `gem install ffi -v '1.9.23' --source 'https://rubygems.org/'` succeeds before bundling.

自分で試したこと

ここに問題・エラーに対して試したことを記載してください。
https://qiita.com/NaokiIshimura/items/f24091d31d4788295b12
Xcode Command Line Tool はインストール済み
同じエラーが出る

0

1Answer

Your answer might help someone💌