Skip to content

Instantly share code, notes, and snippets.

@buoyant
Last active August 29, 2015 14:08
Show Gist options
  • Save buoyant/5da0d8aea34176f31be3 to your computer and use it in GitHub Desktop.
Save buoyant/5da0d8aea34176f31be3 to your computer and use it in GitHub Desktop.
Rails Installer Mysql2 Windows Fix
gem install mysql2 -- '--with-mysql-lib="c:\Program Files (x86)\MySQL\MySQL Server 5.6\lib" --with-mysql-include="c:\Program Files (x86)\MySQL\MySQL Server 5.6\include"'
# for specific version
gem install mysql2 -v=0.3.14 -- '--with-mysql-lib="c:\Program Files (x86)\MySQL\MySQL Server 5.6\lib" --with-mysql-include="c:\Program Files (x86)\MySQL\MySQL Server 5.6\include"'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment