schultyy / avm

Installs Ruby and node.js on your machine
11 stars 4 forks source link

Installing bundler on Mac fails b/c of missing OpenSSL #82

Closed schultyy closed 8 years ago

schultyy commented 8 years ago
[0] % gem install bundler
ERROR:  While executing gem ... (Gem::Exception)
    Unable to require openssl, install OpenSSL and rebuild ruby (preferred) or use non-HTTPS sources

This can be fixed by passing --with-openssl-dir=/usr/bin to the Configure script. But instead of hardcoding the path to openssl the user should be able to override this by setting the OPENSSL_INCLUDE_DIR environment variable.