case $(uname -s) in
Linux)
  install_package "jruby-head" "https://github.com/ruby/jruby-dev-builder/releases/latest/download/jruby-head-ubuntu-20.04.tar.gz" jruby
  ;;
Darwin)
  use_homebrew_openssl
  install_package "jruby-head" "https://github.com/ruby/jruby-dev-builder/releases/latest/download/jruby-head-macos-latest.tar.gz" jruby
  ;;
*)
  colorize 1 "Unsupported operating system: $(uname -s)"
  return 1
  ;;
esac
