fcbai@fcbai-a4:~$ rvm install 3.0.0 ruby-3.0.0 - #removing src/ruby-3.0.0.. Searching for binary rubies, this might take some time. No binary rubies available for: ubuntu/22.04/x86_64/ruby-3.0.0. Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies. Checking requirements for ubuntu. Requirements installation successful. Installing Ruby from source to: /home/fcbai/.rvm/rubies/ruby-3.0.0, this may take a while depending on your cpu(s)... ruby-3.0.0 - #downloading ruby-3.0.0, this may take a while depending on your connection... ruby-3.0.0 - #extracting ruby-3.0.0 to /home/fcbai/.rvm/src/ruby-3.0.0..... ruby-3.0.0 - #configuring......................................................................... ruby-3.0.0 - #post-configuration.. ruby-3.0.0 - #compiling...............................................................................................................| Error running '__rvm_make -j20', please read /home/fcbai/.rvm/log/1675047507_ruby-3.0.0/make.log
There has been an error while running make. Halting the installation.
linking shared-object bigdecimal.so make[2]: Leaving directory '/home/fcbai/.rvm/src/ruby-3.0.0/ext/bigdecimal' cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics linking shared-object json/ext/generator.so cc1: note: unrecognized command-line option ‘-Wno-self-assign’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-parentheses-equality’ may have been intended to silence earlier diagnostics cc1: note: unrecognized command-line option ‘-Wno-constant-logical-operand’ may have been intended to silence earlier diagnostics make[2]: Leaving directory '/home/fcbai/.rvm/src/ruby-3.0.0/ext/json/generator'