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/hooks/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/local/rvm/hooks/after_install_auto_gem
#!/usr/bin/env bash

if
  [[ -f "/etc/gentoo-release" ||
    "${RUBYOPT:-}" =~ "-rauto_gem"
  ]]
then
  typeset __sitelib
  __sitelib="$( $rvm_ruby_binary -rrbconfig -e "puts RbConfig::CONFIG['sitelibdir']" )"
  if [[ -n "${__sitelib}" ]]
  then touch "${__sitelib}/auto_gem.rb"
  else echo "WARN: Installed ruby does not have valid 'sitelibdir', no 'auto_gem.rb' was created, please report a bug here: https://github.com/rvm/rvm/issues"
  fi
fi

Hry