Skip to content

Commit 845288c

Browse files
committed
Add Ruby 3.4.6
1 parent 161318b commit 845288c

File tree

4 files changed

+8
-11
lines changed

4 files changed

+8
-11
lines changed

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,16 @@
11
name: Build and Publish Images
2-
3-
on:
2+
"on":
43
push:
5-
tags: [ 'ruby-*.*.*' ]
6-
4+
tags:
5+
- ruby-*.*.*
76
jobs:
87
build:
98
name: Build Images
10-
119
strategy:
1210
fail-fast: false
1311
matrix:
1412
RUBY_VERSION:
13+
- 3.4.6
1514
- 3.4.5
1615
- 3.4.4
1716
- 3.4.3
@@ -38,15 +37,13 @@ jobs:
3837
- 3.2.2
3938
- 3.2.1
4039
- 3.2.0
41-
4240
runs-on: ubuntu-latest
4341
permissions:
4442
contents: read
4543
packages: write
4644
steps:
4745
- name: Checkout (GitHub)
4846
uses: actions/checkout@v4
49-
5047
- name: Build and Publish Image
5148
uses: ./.github/actions/build-and-publish-image
5249
with:

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.0.1",
3+
"version": "2.0.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",
@@ -18,7 +18,7 @@
1818
"options": {
1919
"version": {
2020
"type": "string",
21-
"default": "3.4.5",
21+
"default": "3.4.6",
2222
"description": "The ruby version to be installed"
2323
},
2424
"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.5" bash -c "mise use -g ruby | grep 3.4.5"
11+
check "Ruby version is set to 3.4.6" bash -c "mise use -g ruby | grep 3.4.6"
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.5" bash -c "rbenv global | grep 3.4.5"
12+
check "Ruby version is set to 3.4.6" bash -c "rbenv global | grep 3.4.6"
1313

1414
reportResults

0 commit comments

Comments
 (0)