Skip to content

Instantly share code, notes, and snippets.

@abhilashone9
abhilashone9 / install-log-10.13.2.text
Created October 7, 2020 17:43
ruby-ffi install 1.9.23 on macOS High Sierra 10.13.2
MAKE="make V=1" gem inst ffi --verbose
...
GET https://api.rubygems.org/gems/ffi-1.9.23.gem
...
Building native extensions. This could take a while...
current directory: /usr/local/lib/ruby/gems/2.5.0/gems/ffi-1.9.23/ext/ffi_c
/usr/local/opt/ruby/bin/ruby -r ./siteconf20180228-56253-vspyh8.rb extconf.rb
checking for ffi.h... no
checking for ffi.h in /usr/local/include,/usr/include/ffi... yes
checking for ffi_call() in -lffi... yes
@abhilashone9
abhilashone9 / mysql2-mojave.md
Created October 7, 2020 15:28 — forked from fernandoaleman/mysql2-mojave.md
Install mysql2 on MacOS Mojave

For MacOS Catalina, visit Install mysql2 on MacOS Catalina

Problem

Installing mysql2 gem errors on MacOS Mojave.

Solution

Make sure openssl is installed on Mac via Homebrew.