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/src/rvm/rvm-test/fast/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/local/rvm/src/rvm/rvm-test/fast/remote_comment_test.sh
source "$rvm_path/scripts/rvm"

: prepare
true TMPDIR:${TMPDIR:=/tmp}:
d=$TMPDIR/test-remote
mkdir $d
pushd $d
rvm use 2.3.4 --install # status=0
rvm list
# match=/ruby-2.3.4/

: tast packaging
rvm prepare 2.3.4           # status=0
[[ -f ruby-2.3.4.tar.bz2 ]] # status=0

: remove it
rvm remove --gems 2.3.4     # status=0
rvm list
# match!=/ruby-2.3.4/

: get local ruby
rvm mount -r ruby-2.3.4.tar.bz2 # status=0
rvm list
# match=/ruby-2.3.4/
rvm use 2.3.4 # status=0; match[stderr]=/^$/

: clean
popd
rm -rf $d

Hry