Skip to content

Instantly share code, notes, and snippets.

@jamedge
Created December 30, 2018 14:58
Show Gist options
  • Save jamedge/e17109fdcd14e6c6d60e2a224936e78e to your computer and use it in GitHub Desktop.
Save jamedge/e17109fdcd14e6c6d60e2a224936e78e to your computer and use it in GitHub Desktop.
[ruby: install myslq2 package] For problems with installing mysql2 gem for ruby (when using another location of mysql rather than the default one), provide the path for mysql in the install command #ruby #shell #install
# e.g. if mysql is installed on path /usr/local/Cellar/mysql@5.7/5.7.24
gem install mysql2 -- --with-mysql-dir=/usr/local/Cellar/mysql@5.7/5.7.24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment