Skip to content

Instantly share code, notes, and snippets.

gem install mysql2 --no-ri --no-rdoc -- --with-mysql-dir=c:\mysql-connector-c-noinstall-6.0.2-win32
gem install mysql2 --platform=ruby --no-ri --no-rdoc -- --with-mysql-dir=c:\mysql-connector-c-noinstall-6.0.2-win32
gem install mysql2 -V --platform=ruby --no-ri --no-rdoc -- --with-mysql-dir=c:\mysql-connector-c-noinstall-6.0.2-win32
# uninstall mysql2
gem uninstall mysql2
# reinstall it
gem install mysql2 --no-ri --no-rdoc -- --with-mysql-dir=C:\row\mysql-connector-c-noinstall-6.0.2-win32
# launch irb
irb