mysql error on MAC M1

 


gem install mysql2 -- \

 --with-mysql-lib=/opt/homebrew/opt/mysql/lib \

 --with-mysql-dir=/opt/homebrew/opt/mysql \

 --with-mysql-config=/opt/homebrew/opt/mysql/bin/mysql_config \

 --with-mysql-include=/opt/homebrew/opt/mysql/include 

Comments

Popular Posts

How to pass hash in Postman

nginx: unrecognized service

Reading Excel Sheets using "Roo" gem in ruby on rails

Bootstrap Select Picker append add new item if search not exist

Add CORS to Nginx on AWS Elastic Beanstalk

Enable gzip compression on Elastic Beanstalk with nginx

Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock'

Get video duration by URL in Ruby on Rails

Deploy Reatjs app on Heroku