Trying out chruby
and ruby-install
and installing Ruby 2.2.2 with ruby-install
was giving be the error:
1 |
directory not found for option '-L/usr/local/Cellar/openssl/1.0.2k/lib' |
Setting the LDFLAGS
env var solved this for me:
1 |
export LDFLAGS=-L/usr/local/opt/openssl/lib |