最終更新:2019-06-19 (水) 01:00:26 (1735d)
Mysql2
Top / Mysql2
https://github.com/brianmario/mysql2
Windows
- RubyInstaller+DevKit?
- メモ
gem install mysql2 Fetching: mysql2-0.5.2-x64-mingw32.gem (100%) ====================================================================================================== You've installed the binary version of mysql2. It was built using MySQL Connector/C version 6.1.11. It's recommended to use the exact same version to avoid potential issues. At the time of building this gem, the necessary DLL files were retrieved from: http://cdn.mysql.com/Downloads/Connector-C/mysql-connector-c-6.1.11-win32.zip This gem *includes* vendor/libmysql.dll with redistribution notice in vendor/README. ====================================================================================================== Successfully installed mysql2-0.5.2-x64-mingw32 Parsing documentation for mysql2-0.5.2-x64-mingw32 Installing ri documentation for mysql2-0.5.2-x64-mingw32 Done installing documentation for mysql2 after 0 seconds 1 gem installed
メモ
- mysql2 (0.5.2 x64-mingw32)で動いている
mysql2-0.5.2-x64-mingw32でのエラー
- LoadError?: cannot load such file -- mysql2/2.5/mysql2
メモ
gem install mysql2 --platform=ruby Fetching: mysql2-0.5.2.gem (100%) Temporarily enhancing PATH for MSYS/MINGW... Installing required msys2 packages: mingw-w64-x86_64-libmariadbclient Building native extensions. This could take a while... Successfully installed mysql2-0.5.2 Parsing documentation for mysql2-0.5.2 Installing ri documentation for mysql2-0.5.2 Done installing documentation for mysql2 after 0 seconds 1 gem installed