📌  相关文章
📜  LoadError: cannot load such file -- mysql2 2.7 mysql2 - SQL 代码示例

📅  最后修改于: 2022-03-11 15:05:04.191000             🧑  作者: Mango

代码示例1
rm Gemfile.lock
gem uninstall mysql2
gem install mysql2 -v '0.5.2' -- --with-mysql-config=/usr/local/Cellar/mysql@5.7/5.7.25/bin/mysql_config --with-ldflags=-L/usr/local/opt/openssl/lib --with-cppflags=-I/usr/local/opt/openssl/include --platform=ruby
bundle install