aboutsummaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/install_additional_ruby.sh1
-rw-r--r--test/ruby/ruby_debian.sh12
-rw-r--r--test/ruby/scenarios.json6
3 files changed, 19 insertions, 0 deletions
diff --git a/test/ruby/install_additional_ruby.sh b/test/ruby/install_additional_ruby.sh
index e5a651c..4fa8444 100644
--- a/test/ruby/install_additional_ruby.sh
+++ b/test/ruby/install_additional_ruby.sh
@@ -10,6 +10,7 @@ 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'
+check "rake" bash -c "gem list | grep rake"
# Report result
reportResults
diff --git a/test/ruby/ruby_debian.sh b/test/ruby/ruby_debian.sh
new file mode 100644
index 0000000..bc5e655
--- /dev/null
+++ b/test/ruby/ruby_debian.sh
@@ -0,0 +1,12 @@
+#!/bin/bash
+
+set -e
+
+# Optional: Import test library
+source dev-container-features-test-lib
+
+check "ruby" ruby -v
+check "rake" bash -c "gem list | grep rake"
+
+# Report result
+reportResults
diff --git a/test/ruby/scenarios.json b/test/ruby/scenarios.json
index 9f88d9e..04cac73 100644
--- a/test/ruby/scenarios.json
+++ b/test/ruby/scenarios.json
@@ -7,5 +7,11 @@
"additionalVersions": "2.5,3.0.4"
}
}
+ },
+ "ruby_debian": {
+ "image": "mcr.microsoft.com/devcontainers/base:bullseye",
+ "features": {
+ "ruby": {}
+ }
}
} \ No newline at end of file