Error trying to install ruby with rbenv install 2.3.3

0

I'm trying to install ruby on rails on ubuntu 16.10 by using the rails go guide but by placing the rbenv command install 2.3.3 I get the following error:

Downloading ruby-2.3.3.tar.bz2...
-> https://cache.ruby-lang.org/pub/ruby/2.3/ruby-2.3.3.tar.bz2
error: failed to download ruby-2.3.3.tar.bz2

BUILD FAILED (Ubuntu 16.10 using ruby-build 20170405-4-g365dd1f)

Inspect or clean up the working tree at /tmp/ruby-build.20170513215503.3865
Results logged to /tmp/ruby-build.20170513215503.3865.log

Last 10 log lines:
/tmp/ruby-build.20170513215503.3865 ~
curl: (18) transfer closed with 11311517 bytes remaining to read
    
asked by Ing.LuisC 14.05.2017 в 04:55
source

1 answer

0

For what you point out, the problem is that you could not download the file. It might be useful to update ruby-build:

cd ~/.rbenv/plugins/ruby-build
git pull origin master
cd -
rbenv install 2.3.3
    
answered by 29.05.2017 в 23:54