canvas-development-tools
canvas-development-tools copied to clipboard
CODES.sh: ruby-install install fails on OSX 10.12.6 (maybe due to OpenSSL config)
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:
- downloading the file using a browser (
wget https://cache.ruby-lang.org/pub/ruby/2.4/ruby-2.4.0.tar.bz2also failed) - moving it to
~/src - 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.
Thanks, that may be helpful to others