Heray-Was-Here
Server : Apache
System : Linux vps43555.mylogin.co 3.10.0-1160.53.1.vz7.185.3 #1 SMP Tue Jan 25 12:49:12 MSK 2022 x86_64
User : redsea ( 60651)
PHP Version : 7.4.32
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