I\'m having trouble finding a solution to this problem. I\'m getting the error:
Please install the mysql adapter: \'gem install activerecord-mysql-adapter\'
For a old rails 2.3.18 ruby 1.8.7 app that I 'migrated' to a new MacBook (High Sierra - 10.13.6), in order to get the app to run (using POW) and to use script/console, I had to disable SIP and create a link to a file in /urs/lib/ directory. Migration Assistant was unable to create the link because of SIP.
To Disable SIP - System Integrity Protection
Boot into Mac OS Recovery Mode as usual by holding down the Command and R keys during system start.
Choose the language as usual (if applicable)
At the “MacOS Utilities” screen, pull down the “Utilities” menu from the top of the screen.
In terminal, type command: csrutil disable
Restart your computer
Finally, after restarting, in Terminal enter this command:
sudo ln /usr/local/mysql/lib/libmysqlclient.18.dylib /usr/lib/libmysqlclient.18.dylib