mysql2
mysql2 copied to clipboard
Failed to intsall mysql2 gem on Windows Server with Ruby 3.1
I've tried a lot's different ways to install mysql2 gem on Windows Server 2019 and getting this error now:
Ruby v 3.1
C:\Users\qauser>gem install mysql2 -- --with-mysql-dir="C:\Program Files\MariaDB\MariaDB Connector C 64-bit" ERROR: While executing gem ... (ArgumentError) undefined class/module YAML::Syck::
With ruby 2.7 I was able to install gem without this error.
with ruby 3.0.4 same?