-
Notifications
You must be signed in to change notification settings - Fork 550
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Having issue when installing mysql2 gem on ubuntu 24.04 #1369
Comments
By the way, I've seen this topic but it is related to MAC environment |
And from the log located in
Thanks for your help ! |
I did handle this by changing the value in the gemfile from :
to
Seems to be ok ... |
I am installing a higher version "mysql2" -> "0.5.6". The information I found says that the problem should be solved in 5.4.0, but in fact it is not. |
I fixed it on my end after installing
|
I removed the platform versions in my Gemfile.lock for the
This works for me EDIT: Updated to include the correct stanza for after the gem |
I'm using ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [x86_64-linux] (installed with RVM) on Ubuntu 24.04 and I get this error when trying to install mysql2 :
Mysql server is 8.0.36-2ubuntu3
I've also tried :
gem install mysql2 -v '0.5.6' -- --srcdir=/var/lib/mysql
gem install mysql2 -v '0.5.6' -- --srcdir=/lib/x86_64-linux-gnu
And :
gem install mysql2 --with-mysql-dir=/lib/x86_64-linux-gnu/
but I get this error message :Thanks for your support
The text was updated successfully, but these errors were encountered: