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

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Current File : //usr/local/rvm/src/rvm/rvm-test/long/truffleruby_comment_test.sh
## Test the latest TruffleRuby release
rvm install truffleruby # status=0; match!=/Already installed/; match=/compiling c-extensions/
rvm truffleruby do ruby -v # status=0; match=/truffleruby/
rvm truffleruby do rake --version # status=0; match=/rake, version/
rvm truffleruby do ruby -S bundle --version # status=0; match=/Bundler version/
echo 'gem "rake"' > Gemfile # status=0
rvm truffleruby do bundle install # status=0
rvm truffleruby do ruby -S bundle exec rake --version # status=0; match=/rake, version/
rm Gemfile
rvm truffleruby do ruby -ropen-uri -e 'puts open("https://rubygems.org/") { |f| f.read(1024) }'
# status=0; match=/RubyGems.org/
rvm remove truffleruby # status=0; match=/removing.+truffleruby/

## Test installing truffleruby-head
rvm install truffleruby-head # status=0; match!=/Already installed/
rvm truffleruby-head do ruby -v # status=0; match=/truffleruby/
rvm remove truffleruby-head # status=0

## Test that the right version is installed (#4633)
rvm install truffleruby-1.0.0-rc13 # status=0; match!=/Already installed/
rvm truffleruby-1.0.0-rc13 do ruby -v # status=0; match=/truffleruby 1.0.0-rc13/
rvm remove truffleruby-1.0.0-rc13 # status=0

Hry