Unverified Commit 1118b992 authored by Samruddhi Khandale's avatar Samruddhi Khandale Committed by GitHub

Ruby: Fix failures - omit "ruby-debug-ide" (#505)

* Ruby: Fix failures on debian image due to ruby-debug-ide

* omit
parent 0e079baa
{
"id": "ruby",
"version": "1.0.9",
"version": "1.0.10",
"name": "Ruby (via rvm)",
"documentationURL": "https://github.com/devcontainers/features/tree/main/src/ruby",
"description": "Installs Ruby, rvm, rbenv, common Ruby utilities, and needed dependencies.",
......
......@@ -19,7 +19,8 @@ ADDITIONAL_VERSIONS="${ADDITIONALVERSIONS:-""}"
# Note: ruby-debug-ide will install the right version of debase if missing and
# installing debase directly fails on Ruby 3.1.0 as of 1/7/2022, so omitting.
DEFAULT_GEMS="rake ruby-debug-ide"
# installing ruby-debug-ide on debian fails, so omitting.
DEFAULT_GEMS="rake"
RVM_GPG_KEYS="409B6B1796C275462A1703113804BB82D39DC0E3 7D2BAF1CF37B13E2069D6956105BD0E739499BDB"
GPG_KEY_SERVERS="keyserver hkp://keyserver.ubuntu.com
......
......@@ -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
#!/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
......@@ -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
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment