LoginSignup
2
3

More than 3 years have passed since last update.

Macでbundle installしたらjsonが入れられないって怒られた話

Posted at

環境

macOS mojave(10.14.6)
同じ状況になった人が解決したら幸いです

状況

カバレッジを測定するためにプロジェクトチームでsimplecovを入れた
bundle installすると俺だけ以下エラーがでた

An error occurred while installing json (2.2.0), and Bundler cannot continue.
Make sure that `gem install json -v '2.2.0' --source 'https://rubygems.org/'` succeeds before bundling.

解決方法

ターミナルで以下を実行
xcode-select install
brew install gcc

2
3
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
2
3