Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CODES.sh: ruby-install install fails on OSX 10.12.6 (maybe due to OpenSSL config) #16

Open
hanleybrand opened this issue Sep 20, 2017 · 1 comment

Comments

@hanleybrand
Copy link

When running CODES.sh --full I'm getting the following error:

>>> Downloading https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.0.tar.bz2 into /Users/hanley/src ...
--2017-09-20 16:33:15--  https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.0.tar.bz2
Resolving cache.ruby-lang.org... 151.101.208.233
Connecting to cache.ruby-lang.org|151.101.208.233|:443... connected.
OpenSSL: error:1409442E:SSL routines:ssl3_read_bytes:tlsv1 alert protocol version
Unable to establish SSL connection.
!!! Download of https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.0.tar.bz2 failed!
chruby: unknown Ruby: ruby-2.4.0
Chruby is installed
chruby: unknown Ruby: 2.4.0
Error installing ruby with ruby-install.  
Please try manually and run this script again (ruby-install ruby 2.4.0)

I'm not sure if it was due to the openssl build config I used or if the site was having trouble, but running ruby-install ruby 2.4.0 manually had the same result.

Workaround: I was able to get the CODES script to continue by:

  1. downloading the file using a browser (wget https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.0.tar.bz2 also failed)
  2. moving it to ~/src
  3. re-executing CODES.sh --full

I don't know if this is an issue that can be fixed, but I figured I would mention it.

@FreedomBen
Copy link
Owner

Thanks, that may be helpful to others

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants