Richard Hart

Head of Something @ Somewhere
Kent, UK

My Music
My Photos

LinkedIn
Mastodon

OpenSSL issues building Ruby 2.2.2 with ruby-install

Trying out chruby and ruby-install and installing Ruby 2.2.2 with ruby-install was giving be the error:

directory not found for option '-L/usr/local/Cellar/openssl/1.0.2k/lib'

Setting the LDFLAGS env var solved this for me:

export LDFLAGS=-L/usr/local/opt/openssl/lib