Quantcast
Channel: Active questions tagged ruby - Stack Overflow
Viewing all articles
Browse latest Browse all 4615

BUILD FAILED (Ubuntu 20.04 using ruby-build 20210119)

$
0
0

I'm using rbenv and in Ec2 instance I'm trying to install a ruby different version but when I execute

rbenv install 2.7.2

following errors occur.

Downloading ruby-2.7.2.tar.bz2...-> https://cache.ruby-lang.org/pub/ruby/2.7/ruby-2.7.2.tar.bz2Installing ruby-2.7.2...BUILD FAILED (Ubuntu 20.04 using ruby-build 20210119)Inspect or clean up the working tree at /tmp/ruby-build.20210217075101.162094.zs1iDJResults logged to /tmp/ruby-build.20210217075101.162094.logLast 10 log lines:compiling mjit.ccompiling mjit_compile.ccompiling node.ccompiling numeric.ccompiling object.ccompiling pack.ccompiling parse.cgcc: fatal error: Killed signal terminated program cc1compilation terminated.make: *** [Makefile:421: parse.o] Error 1

meanwhile, my system is using the default ruby version

  ubuntu@ip-112-34-9-342:~$ rbenv versions * system (set by /home/ubuntu/.rbenv/version)

I don't confirm it is a space issue or something else, space information is listed below.

 ubuntu@ip-112-34-9-342:~$ free    total        used        free      shared  buff/cache   available    Mem:         486776      177636       89396         800      219744      287744    Swap:          0           0           0

Viewing all articles
Browse latest Browse all 4615

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>