i keep getting an error message below.
Errno::ECONNRESET in CybozuliveController#index
Connection reset by peer - SSL_connect
and of course ive tried the below
rvm pkg install openssl
rvm remove 1.9.3
rvm install 1.9.3 --with-openssl-dir=$rvm_path/usr --with-gcc=clang
anyone know how to get openssl 1.0.0 ? :s
in my old mac, ruby 1.9.3 and openssl 1.0.0 worked so if i could get openssl 1.0.0,
i think ill be fine
this could be related to clang
, Ruby is not guaranted to always work with it, try installing gcc-4.2
.
at first make sure you run the new stable from RVM:
rvm get stable
read:
rvm requirements
for how to install gcc-4.2
, and reinstall ruby:
rvm reinstall 1.9.3
it will use the rvm installed openssl (it does it autmaticaly, no need to give --with-openssl-dir=$rvm_path/usr
), not specifying --with-gcc=
will allow RVM to select gcc-4.2
.
You may be running into the same issue i was here: OpenSSL trouble with Ruby 1.9.3
I think Open SSL 1.0.1 caused some problems negotiating the ssl version to use with some older/non-standard servers. Read the answer in that question to see how to force it.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.