mdjnewman / mdjnewman.github.io

Jekyll project for personal website

Home Page:http://mdjnewman.me/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sonoma shenanigans

mdjnewman opened this issue · comments

I swear everytime I update macOS/XCode/ruby something breaks. Capturing some notes here of what worked on Sonoma.

brew install ruby@3.2
export PATH="/usr/local/opt/ruby@3.2/bin:$PATH"

export LDFLAGS="-L/usr/local/opt/libffi/lib"
export CPPFLAGS="-I/usr/local/opt/libffi/include"
export PKG_CONFIG_PATH="/usr/local/opt/libffi/lib/pkgconfig"
gem install ffi -v 1.16.3 -- --with-cflags="-Wno-error=implicit-function-declaration"

bundle update