Heray-Was-Here
Server : Apache
System : Linux vps103298.mylogin.co 4.18.0-513.11.1.el8_9.x86_64 #1 SMP Wed Jan 17 02:00:40 EST 2024 x86_64
User : calvet ( 273824)
PHP Version : 7.4.33
Disable Function : NONE
Directory :  /proc/thread-self/root/usr/local/rvm/scripts/functions/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //proc/thread-self/root/usr/local/rvm/scripts/functions/osx-support
#!/usr/bin/env bash

requiremnts_osx_java_fail()
{
  __rvm_which java >/dev/null 2>&1 || return $?
  java_version=$(java -version 2>&1  | __rvm_awk -F'"' '/ version /{print $2}')
  case "$java_version" in
    (1.5.*)
      printf "%b" "\n\nWARNING: A very outdated JAVA version is being used ($java_version), it is strongly recommended that you upgrade to the latest version.\n\n"
      ;;
    (1.3.*|1.4.*)
      printf "%b" "\n\nERROR: Unsupported JAVA version $java_version. In order to install and use JRuby you must upgrade to the latest JAVA version.\n\n"
      return 1
      ;;
  esac
  true # for OSX
}

Hry