ruby on rails - I am getting the "no such file to load — openssl" error on OSX 10.7.5 -


i getting no such file load — openssl error on osx 10.7.5 in ruby on rails environment.

i read related questions here on stackoverflow, nothing worked me.

tried following:

  1. tried building openssl specified. did not work:

    rvm pkg install openssl
    rvm reinstall 1.9.2 --with-openssl-dir=$rvm_path/usr

  2. also tried system's openssl. didn't work, too:

    which openssl
    /opt/local/bin/openssl
    rvm reinstall 1.9.2 --with-openssl-dir=/opt/local/bin

    3.read libyaml required. i've have it:

    brew install libyaml
    libyaml-0.1.4 installed

other info : system has ruby version 1.8.7. works (including load ssl) when use ruby. old of gems using. so, have installed other versions using rvm. have made necessary environment changes. tried these steps 1.9.2, 1.9.3 both. same no such file load - openssl error.

what missing?

i had issues similar when installing ruby 2.0.0. had do:

rvm head rvm pkg remove rvm requirements run rvm reinstall 2.0.0 

(or 1.9.3 in case)

source


Comments

Popular posts from this blog

how to insert data php javascript mysql with multiple array session 2 -

multithreading - Exception in Application constructor -

windows - CertCreateCertificateContext returns CRYPT_E_ASN1_BADTAG / 8009310b -