algobasket/PeatioCryptoExchange

Error install ruby 2.2.7 ubuntu 16.04 x64

Closed this issue · 0 comments

There is an error installing ruvy on ubuntu 16.04 currently

probably this material is corrupted:
https://github.com/algobasket/PeatioCryptoExchange/blob/fa9abd1181adeb221817e8e24f3a4611c9b2f105/doc/deploy-production-server.md

when running or on command:

rbenv install --verbose 2.2.7

ruby error return

/tmp/ruby-build.20191012091126.7476 ~
Downloading ruby-2.2.7.tar.bz2 ...
-> https://cache.ruby-lang.org/pub/ruby/2.2/ruby-2.2.7.tar.bz2
/tmp/ruby-build.20191012091126.7476/ruby-2.2.7 /tmp/ruby-build.20191012091126.7476 ~
Installing ruby-2.2.7 ...

WARNING: Ruby-2.2.7 has passed the end of life and is now not supported.
It no longer receives bug fixes or critical security updates.

checking build system type ... x86_64-pc-linux-gnu
checking host system type ... x86_64-pc-linux-gnu
checking target system type ... x86_64-pc-linux-gnu
checking gcc ... no
checking cc ... no
checking cl.exe ... no
configure: error: in /tmp/ruby-build.20191012091126.7476/ruby-2.2.7 ': configure: error: no acceptable C compiler found in $ PATH See config.log 'for more details.
CONSTRUCTION FAILURE (Ubuntu 16.04 using ruby-build 20191004)
Inspect or clean the work tree at /tmp/ruby-build.20191012091126.7476
Results recorded in /tmp/ruby-build.20191012091126.7476.log
Last 10 log lines:
/tmp/ruby-build.20191012091126.7476/ruby-2.2.7 /tmp/ruby-build.20191012091126.7476 ~
checking build system type ... x86_64-pc-linux-gnu
checking host system type ... x86_64-pc-linux-gnu
checking target system type ... x86_64-pc-linux-gnu
checking gcc ... no
checking cc ... no
checking cl.exe ... no
configure: error: in /tmp/ruby-build.20191012091126.7476/ruby-2.2.7 ': configure: error: no acceptable C compiler found in $ PATH See config.log 'for more details.