``` Building native extensions. This could take a while... ERROR: Error installing linux_stat: ERROR: Failed to build gem native extension. current directory: /opt/jruby/lib/ruby/gems/shared/gems/linux_stat-1.6.0/ext/fs_stat /opt/jruby/bin/jruby -I /opt/jruby/lib/ruby/stdlib -r ./siteconf20210128-57936-1o83t7o.rb extconf.rb checking for linux... RuntimeError: The compiler failed to generate an executable file. You have to install development tools first. try_do at /opt/jruby/lib/ruby/stdlib/mkmf.rb:456 try_compile at /opt/jruby/lib/ruby/stdlib/mkmf.rb:571 with_werror at /opt/jruby/lib/ruby/stdlib/mkmf.rb:524 try_compile at /opt/jruby/lib/ruby/stdlib/mkmf.rb:571 try_const at /opt/jruby/lib/ruby/stdlib/mkmf.rb:1256 have_const at /opt/jruby/lib/ruby/stdlib/mkmf.rb:1287 checking_for at /opt/jruby/lib/ruby/stdlib/mkmf.rb:942 postpone at /opt/jruby/lib/ruby/stdlib/mkmf.rb:350 open at /opt/jruby/lib/ruby/stdlib/mkmf.rb:320 postpone at /opt/jruby/lib/ruby/stdlib/mkmf.rb:350 open at /opt/jruby/lib/ruby/stdlib/mkmf.rb:320 postpone at /opt/jruby/lib/ruby/stdlib/mkmf.rb:346 checking_for at /opt/jruby/lib/ruby/stdlib/mkmf.rb:941 have_const at /opt/jruby/lib/ruby/stdlib/mkmf.rb:1286
at extconf.rb:3 *** extconf.rb failed *** Could not create Makefile due to some reason, probably lack of necessary libraries and/or headers. Check the mkmf.log file for more details. You may need configuration options. Provided configuration options: --with-opt-dir --without-opt-dir --with-opt-include --without-opt-include=${opt-dir}/include --with-opt-lib --without-opt-lib=${opt-dir}/lib --with-make-prog --without-make-prog --srcdir=. --curdir --ruby=/opt/jruby/bin/jruby To see why this extension failed to compile, please check the mkmf.log which can be found here: /opt/jruby/lib/ruby/gems/shared/extensions/universal-java-1.8/2.5.0/linux_stat-1.6.0/mkmf.log extconf failed, exit code 1 Gem files will remain installed in /opt/jruby/lib/ruby/gems/shared/gems/linux_stat-1.6.0 for inspection. Results logged to /opt/jruby/lib/ruby/gems/shared/extensions/universal-java-1.8/2.5.0/linux_stat-1.6.0/gem_make.out ```