Installing mysql2 Gem - YaleSTC/reservations GitHub Wiki

MacOS

You will need to remove and replace the up-to-date version of mysql on your machine.

# remove default mysql on your machine
brew unlink mysql
brew uninstall mysql
# install older mysql version
brew install [email protected]
# put the program in your path
brew link [email protected] --force

bundle install should succeed after running this.