Added a scenario to test installing a gem.

This commit is contained in:
Thomas Owens 2023-12-18 19:56:41 +00:00
parent 515866aa8c
commit 6a4536a796
2 changed files with 20 additions and 0 deletions

11
test/ruby/install_gem.sh Normal file
View file

@ -0,0 +1,11 @@
#!/bin/bash
set -e
# Optional: Import test library
source dev-container-features-test-lib
check "gem installed" bash -c "gem install rubocop"
# Report result
reportResults

View file

@ -8,6 +8,15 @@
}
}
},
"install_gem": {
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
"remoteUser": "vscode",
"features": {
"ruby": {
"version": "latest"
}
}
},
"additional_versions": {
"image": "mcr.microsoft.com/devcontainers/base:bullseye",
"features": {