aboutsummaryrefslogtreecommitdiff
path: root/test-scenarios/install_additional_ruby.sh
diff options
context:
space:
mode:
authorSamruddhi Khandale <skhandale@microsoft.com>2022-07-01 21:12:10 +0300
committerGitHub <noreply@github.com>2022-07-01 21:12:10 +0300
commit69cba4ffad425e082f36d8fee3101090ccda896c (patch)
tree85a9d5fbc570358bf3a339d9bc89ec910ff357e3 /test-scenarios/install_additional_ruby.sh
parent6eab72c681392c1df95500035d87a6e3a1c54642 (diff)
ruby: install additional versions (#57)
* ruby: install additional versions * nit: fixing spelling Co-authored-by: Josh Spicer <joshspicer@github.com>
Diffstat (limited to 'test-scenarios/install_additional_ruby.sh')
-rw-r--r--test-scenarios/install_additional_ruby.sh13
1 files changed, 13 insertions, 0 deletions
diff --git a/test-scenarios/install_additional_ruby.sh b/test-scenarios/install_additional_ruby.sh
new file mode 100644
index 0000000..3e76159
--- /dev/null
+++ b/test-scenarios/install_additional_ruby.sh
@@ -0,0 +1,13 @@
+#!/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
+
+# Report result
+reportResults