aboutsummaryrefslogtreecommitdiff
path: root/test/ruby/install_additional_ruby.sh
blob: e5a651c5ba90038a545e78f8ee46f4d22777fd4e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/bin/bash

set -e

# Optional: Import test library
source dev-container-features-test-lib

check "ruby version 3.1.2 installed as default" ruby -v | grep 3.1.2
check "ruby version 2.5.9 installed"  rvm list | grep 2.5.9
check "ruby version 3.0.4 installed"  rvm list | grep 3.0.4

check "rbenv" bash -c 'eval "$(rbenv init -)" && rbenv --version'

# Report result
reportResults