aboutsummaryrefslogtreecommitdiff
path: root/test-scenarios
diff options
context:
space:
mode:
Diffstat (limited to 'test-scenarios')
-rw-r--r--test-scenarios/install_additional_ruby.sh13
-rw-r--r--test-scenarios/scenarios.json9
2 files changed, 22 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
diff --git a/test-scenarios/scenarios.json b/test-scenarios/scenarios.json
index d07dda9..7c51282 100644
--- a/test-scenarios/scenarios.json
+++ b/test-scenarios/scenarios.json
@@ -11,5 +11,14 @@
"configure_jupyterlab_allow_origin": "*"
}
}
+ },
+ "install_additional_ruby": {
+ "image": "ubuntu:focal",
+ "features": {
+ "ruby": {
+ "version": "3.1.2",
+ "additional_versions": "2.5,3.0.4"
+ }
+ }
}
} \ No newline at end of file