Skip to content

Instantly share code, notes, and snippets.

@SeptiyanAndika
Last active July 18, 2018 21:20
Show Gist options
  • Save SeptiyanAndika/c1189f33963887f963959edcb298d597 to your computer and use it in GitHub Desktop.
Save SeptiyanAndika/c1189f33963887f963959edcb298d597 to your computer and use it in GitHub Desktop.
gem install mysql2 -- \
--with-mysql-config=/Applications/XAMPP/xamppfiles/bin/mysql_config \
--with-mysql-dir=/Applications/XAMPP/xamppfiles/mysql/ \
--with-mysql-lib=/Applications/XAMPP/xamppfiles/lib/mysql/ \
--with-mysql-include=/Applications/XAMPP/xamppfiles/include/ \
--no-ri --no-rdoc
gem install pg -- --with-pg-config=/Applications/Postgres.app/Contents/Versions/9.6/bin/pg_config
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment