I am trying to get a rails project up and running on my local machine. When I do bundle install
Fetching mysql2 0.3.20 Installing mysql2 0.3.20 with native ext
I just ran into this problem today. mysql got updated recently, so what worked for me was:
brew install mysql@5.6 brew link mysql@5.6 --force bundle install
Alternatively, I did not try this solution, but it seems to have worked for other people.
Installing Mysql 2 gem fails