Ruby-build: Can't install Ruby 2.6.3 on macOS 10.14.5

Created on 15 Jul 2019  ·  6Comments  ·  Source: rbenv/ruby-build

This is what happens when I try to install ruby 2.6.3. Not sure what's going on here.

➜ / rbenv install 2.6.3
ruby-build: use openssl from homebrew
Downloading ruby-2.6.3.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.6/ruby-2.6.3.tar.bz2
error: failed to download ruby-2.6.3.tar.bz2

BUILD FAILED (OS X 10.14.5 using ruby-build 20190423)

Inspect or clean up the working tree at /var/folders/_5/vp4j4k5s6pngq64ws34q08700000gn/T/ruby-build.20190715004453.27545
Results logged to /var/folders/_5/vp4j4k5s6pngq64ws34q08700000gn/T/ruby-build.20190715004453.27545.log

Last 10 log lines:
/var/folders/_5/vp4j4k5s6pngq64ws34q08700000gn/T/ruby-build.20190715004453.27545 /
curl: (56) LibreSSL SSL_read: SSL_ERROR_SYSCALL, errno 60

Most helpful comment

I just come across this problem this morning here is what I did:
brew update && brew upgrade ruby-build
then run rbenv install 2.6.3 again.

All 6 comments

Same issue here

I just come across this problem this morning here is what I did:
brew update && brew upgrade ruby-build
then run rbenv install 2.6.3 again.

Thanks for reporting! I'm going to assume that “error: failed to download ruby-2.6.3.tar.bz2” has been a temporal network error and that it has resolved itself since then.

2.6.3 works after brew update && brew upgrade, but cannot install 2.6.5 with a fail and this same error.

@tom-brown What OS are you on?

@tom-brown What OS are you on?

10.14.6, and actually I was able to install 2.6.3. I couldn't install 2.6.5. updating question now.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

edap picture edap  ·  3Comments

florentmorin picture florentmorin  ·  5Comments

ghost picture ghost  ·  4Comments

Lukom picture Lukom  ·  5Comments

k0kubun picture k0kubun  ·  3Comments