Skip to content

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

Description

@hanleybrand

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions