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 :  /usr/local/rvm/scripts/functions/hooks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/local/rvm/scripts/functions/hooks/maglev
#!/usr/bin/env bash


_maglev_gemstone()
{
  case "$1" in
    start)
      export MAGLEV_HOME="$rvm_ruby_home"
      export GEMSTONE_GLOBAL_DIR=$MAGLEV_HOME
      if
        [[ -x "$MAGLEV_HOME/gemstone/bin/gslist" ]]
      then
        if
          "$MAGLEV_HOME/gemstone/bin/gslist" -clv > /dev/null 2>&1
        then
          true # it's running already
        else
          "$rvm_ruby_home/bin/maglev" start
        fi
      fi
      ;;
  esac
}

Hry