how do I do that when the
phashion
gem is defined in a gemfile? The env variables don't seem to work when I run Bundler.
Doing the following worked for me on arm64 (M3 macos)
export CFLAGS="-I/opt/homebrew/opt/jpeg/include -I/opt/homebrew/include $CFLAGS"
export CPPFLAGS="-I/opt/h/omebrew/opt/jpeg/include -I/opt/homebrew/include"
bundle config build.phashion --with-ldflags="-L/opt/homebrew/lib -L/opt/homebrew/opt/jpeg/lib"