I can't install ruby from source, on configuration (./configure) it states
Ignore OpenSSL broken by Apple. Please use another openssl. (e.g. using `configure --with-openssl-dir=/path/to/openssl') Failed to configure openssl. It will not be installed. Even if I use the told parameter. --with-opt-dir=/usr/local doesn't help either. Notice, I installed the latest openssl (1.0.1e) from source too (it's located at /usr/local/ssh).
So later I can't use gem install, it just states:
ERROR: Loading command: install (LoadError) cannot load such file -- openssl ERROR: While executing gem ... (NoMethodError) undefined method `invoke_with_build_args' for nil:NilClass How can I tell the ruby installation to take my installed openssl?