Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions src/ruby/devcontainer-feature.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"id": "ruby",
"version": "1.2.3",
"version": "1.3.0",
"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.",
Expand All @@ -10,9 +10,8 @@
"proposals": [
"latest",
"none",
"3.1",
"3.0",
"2.7"
"3.4",
"3.2"
],
"default": "latest",
"description": "Select or enter a Ruby version to install"
Expand Down
6 changes: 3 additions & 3 deletions test/ruby/install_additional_ruby.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ 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
check "ruby version 3.4.2 installed as default" ruby -v | grep 3.4.2
check "ruby version 3.2.8 installed" rvm list | grep 3.2.8
check "ruby version 3.3.2 installed" rvm list | grep 3.3.2

check "rbenv" bash -c 'eval "$(rbenv init -)" && rbenv --version'
check "rake" bash -c "gem list | grep rake"
Expand Down
2 changes: 1 addition & 1 deletion test/ruby/ruby_fallback_test.sh
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@ get_github_api_repo_url() {
# Figure out correct version of a three part version number is not passed
ruby_url="https://github.com/ruby/ruby"

RUBY_VERSION="3.1.xyz"
RUBY_VERSION="3.4.xyz"

set_rvm_install_args() {
RUBY_VERSION=$1
Expand Down
4 changes: 2 additions & 2 deletions test/ruby/scenarios.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@
"image": "ubuntu:focal",
"features": {
"ruby": {
"version": "3.1.2",
"additionalVersions": "2.5,3.0.4"
"version": "3.4.2",
"additionalVersions": "3.2,3.3.2"
}
}
},
Expand Down