Skip to content

Commit 13fc03b

Browse files
authored
Merge pull request #106 from rails/ruby-4
Add Ruby 4.0.0
2 parents d17accb + 8f14499 commit 13fc03b

File tree

5 files changed

+6
-5
lines changed

5 files changed

+6
-5
lines changed

.github/workflows/publish-new-image-version.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ jobs:
1010
fail-fast: false
1111
matrix:
1212
RUBY_VERSION:
13+
- 4.0.0
1314
- 3.4.8
1415
- 3.4.7
1516
- 3.4.6

features/src/ruby/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Installs Ruby and a version manager (mise or rbenv) along with the dependencies
4040

4141
| Options Id | Description | Type | Default Value |
4242
|-----|-----|-----|-----|
43-
| version | The version of ruby to be installed | string | 3.4.7 |
43+
| version | The version of ruby to be installed | string | 4.0.0 |
4444
| versionManager | The version manager to use for Ruby (mise or rbenv) | string | mise |
4545

4646
## Customizations

features/src/ruby/devcontainer-feature.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"id": "ruby",
3-
"version": "2.1.1",
3+
"version": "2.1.2",
44
"name": "Ruby",
55
"description": "Installs Ruby and a version manager (mise or rbenv) along with libraries needed to build Ruby.",
66
"documentationURL": "https://github.com/rails/devcontainer/tree/main/features/src/ruby",
@@ -19,7 +19,7 @@
1919
"options": {
2020
"version": {
2121
"type": "string",
22-
"default": "3.4.8",
22+
"default": "4.0.0",
2323
"description": "The ruby version to be installed"
2424
},
2525
"versionManager": {

features/test/ruby/test.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,6 @@ check "mise is installed" bash -c "mise --version"
88
check "mise init is sourced in the bashrc" bash -c "grep 'eval \"\$(~/.local/bin/mise activate bash)\"' $HOME/.bashrc"
99
check "mise idiomatic version file is enabled for ruby" bash -c "mise settings | grep idiomatic_version_file_enable_tools | grep ruby"
1010
check "Ruby is installed with YJIT" bash -c "RUBY_YJIT_ENABLE=1 ruby -v | grep +YJIT"
11-
check "Ruby version is set to 3.4.8" bash -c "mise use -g ruby | grep 3.4.8"
11+
check "Ruby version is set to 4.0.0" bash -c "mise use -g ruby | grep 4.0.0"
1212

1313
reportResults

features/test/ruby/with_rbenv.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ check "rbenv is installed" bash -c "rbenv --version"
99
check "ruby-build is installed" bash -c "ls -l $HOME/.rbenv/plugins/ruby-build | grep '\-> /usr/local/share/ruby-build'"
1010
eval "$(rbenv init -)"
1111
check "Ruby is installed with YJIT" bash -c "RUBY_YJIT_ENABLE=1 ruby -v | grep +YJIT"
12-
check "Ruby version is set to 3.4.8" bash -c "rbenv global | grep 3.4.8"
12+
check "Ruby version is set to 4.0.0" bash -c "rbenv global | grep 4.0.0"
1313

1414
reportResults

0 commit comments

Comments
 (0)